mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
redirect location is cut off by some proxies
This commit is contained in:
parent
ceaafbdeb5
commit
3354ce3045
@ -897,7 +897,7 @@ parse_header(DownloadStatus *status) {
|
||||
}
|
||||
|
||||
} else if (redirect == true && tline == "Location") {
|
||||
tline = component.substr(cpos + 2, string::npos);
|
||||
tline = component.substr(cpos + 1, string::npos);
|
||||
downloader_cat.error()
|
||||
<< "Got redirect to " << tline << endl;
|
||||
return EU_error_abort;
|
||||
|
Loading…
x
Reference in New Issue
Block a user