From f983d8bcacf0b6d31fcd2de3a9f852135efe65b1 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 30 Jan 2003 15:46:59 +0000 Subject: [PATCH] redirect fix again --- panda/src/downloader/httpChannel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/downloader/httpChannel.cxx b/panda/src/downloader/httpChannel.cxx index 69e997346d..e07d826346 100644 --- a/panda/src/downloader/httpChannel.cxx +++ b/panda/src/downloader/httpChannel.cxx @@ -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()); }