Print

Print


@pkramp 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 Andy,

ok I see what you mean.
I hope the newest commit will be sufficient.
I previously did not return the file://-prefix from the plug-in, just the path.

In the root-protocol, a port of -1 was sufficient.
I can get started on changing this too, checking for the presence of "file://" there as well.

Cheers,
Paul

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1242#discussion_r453575158

########################################################################
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