Explorar o código

Fix unicode invalid skip error in AssetLib

(cherry picked from commit 0caaaf4018feddb1d3e6e75870df282715efd276)
Haoyu Qiu %!s(int64=4) %!d(string=hai) anos
pai
achega
9184f58dc7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/io/http_client.cpp

+ 1 - 0
core/io/http_client.cpp

@@ -662,6 +662,7 @@ PoolByteArray HTTPClient::read_response_body_chunk() {
 				}
 			}
 			if (err != OK) {
+				ret.resize(_offset);
 				break;
 			}
 		}