Print

Print


Just for the records... I realized I have pasted the wrong example. Here it's how it behaves now, and it seems to be correct to me

$ davix-ls 'http://littlexrdhttp.cern.ch:1094/tmp/stupid&dir' --trace body
DAVIX(body): Body block (303 bytes):
[<?xml version="1.0" encoding="utf-8" ?><D:propfind xmlns:D="DAV:" xmlns:L="LCGDM:"><D:prop><D:displayname/><D:getlastmodified/><D:creationdate/><D:getcontentlength/><D:quota-used-bytes/><D:resourcetype><D:collection/></D:resourcetype><L:mode/><D:owner></D:owner><D:group></D:group></D:prop></D:propfind>]

DAVIX(body): Read block (1101 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns1="http://apache.org/dav/props/" xmlns:ns0="DAV:">
<D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/" xmlns:lp3="LCGDM:">
<D:href>/tmp/stupid&amp;dir</D:href>
<D:propstat>
<D:prop>
<lp1:getcontentlength>33</lp1:getcontentlength>
<lp1:getlastmodified>Tue, 28 Jul 2020 08:12:40 GMT</lp1:getlastmodified>
<lp1:resourcetype><D:collection/></lp1:resourcetype>
<lp1:iscollection>1</lp1:iscollection>
<lp1:executable>T</lp1:executable>
<lp1:iscollection>1</lp1:iscollection>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
<D:response xmlns:lp1="DAV:" xmlns:lp2="http://apache.org/dav/props/" xmlns:lp3="LCGDM:">
<D:href>/tmp/stupid&amp;dir/double&gt;stuupid&amp;file</D:href>
<D:propstat>
<D:prop>
<lp1:getcontentlength>0</lp1:getcontentlength>
<lp1:getlastmodified>Tue, 28 Jul 2020 08:12:40 GMT</lp1:getlastmodified>
<lp1:iscollection>0</lp1:iscollection>
<lp1:executable>F</lp1:executable>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:response>
</D:multistatus>
]

double>stuupid&file


-- 
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/issues/1263#issuecomment-665491531

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