@abh3 commented on this pull request.
> @@ -661,6 +661,13 @@ bool XrdHttpReq::Redir(XrdXrootd::Bridge::Context &info, //!< the result context else redirdest = "Location: http://"; + // port -1 signals redirect to local filesystem + // switch to file:// protocol + if (port == -1)
Hi Paul,
The new definition is that if the port number is < 0 then the redirect target is a full URL. In your case, you need to check if the URL starts with "file://" and effect the redirection to the local file. Otherwise, the redirection should proceed as a normal full URL redirect for some other protocol. So, do not assume that just because you got a full URL it is for local file redirection.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1