mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
redirect fix again
This commit is contained in:
parent
414eaf3930
commit
f983d8bcac
@ -1168,7 +1168,7 @@ run_reading_header() {
|
||||
|
||||
// The server might have given us just a filename for the redirect.
|
||||
// In that case, it's relative to the same server.
|
||||
if (!_redirect.has_authority()) {
|
||||
if (_redirect.has_path() && !_redirect.has_authority()) {
|
||||
_redirect.set_scheme(_document_spec.get_url().get_scheme());
|
||||
_redirect.set_authority(_document_spec.get_url().get_authority());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user