Ciao Fabrizio,
The client doesn't make any difference, the Location header is returned by the server. I think the issue is here:
https://github.com/xrootd/xrootd/blob/master/src/XrdHttp/XrdHttpUtils.cc#L378
case '\n':
strcpy(r + j, "%0C");
j += 3;
break;
case '\r':
strcpy(r + j, "%0A");
j += 3;
break;
The correct values (https://en.wikipedia.org/wiki/Newline#Representation) are "%0A" for '\n' and "%0D" (!) for '\r'. Sorry for not spotting this before!
I found another, outdated, occurrence of the quote() method in XrdTpcTPC.cc. Maybe that should also be updated as per (or consolidated with) the above at this point.
Cheers,
.costin
—
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