Print

Print


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.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1060?email_source=notifications\u0026email_token=AA7NRDVIZZ3QRN43F5UPEADQ4SFLLA5CNFSM4I3HS6F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEII77WY#issuecomment-571604955", "url": "https://github.com/xrootd/xrootd/issues/1060?email_source=notifications\u0026email_token=AA7NRDVIZZ3QRN43F5UPEADQ4SFLLA5CNFSM4I3HS6F2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEII77WY#issuecomment-571604955", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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