Print

Print


While converting the XrdCl::URL tests to GoogleTest, I noticed that it accepts zero, negative, and big (>65536) port numbers as valid. For example, "root://eospilot.cern.ch:-1", and "root://eospilot.cern.ch:281474976710656" are both considered valid. I also noticed that a URL with parameters, but without a path will be considered invalid, i.e. something like http://localhost:8080?param=value. However, that should likely be considered valid, with path normalized to "/", as that's what the browser does. URLs with empty username and/or password are also rejected, i.e., something like http://:@localhost and http://@localhost. Should these be considered valid? The browser seems to accept them. The final thing is that XrdCl::URL cannot accept passwords that contain the character @ or / in them, but I guess that's not really a bug, even if those are supposedly valid characters for passwords.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1960@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1960", "url": "https://github.com/xrootd/xrootd/issues/1960", "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