URLs [OT]

Matthew Flaschen matthew.flaschen at gatech.edu
Fri Mar 13 01:45:59 UTC 2009


Petrus de Calguarium wrote:
> I am wondering:
> 
> usually a URL has the form
> http://www.company.com/dir/subdir...
> 
> but lately, I have often come across
> http://www.company.com//dir/subdir

It's probably just a mistake.  But it is a valid URL, and can mean
whatever the server wants it to mean.  See RFC 3986.  There is no
requirement that segments (meaning the parts between slashes in the
path) have non-zero length.  So there is simply a slash then a blank
segment after the authority (hostname in this case)

Matt Flaschen




More information about the fedora-list mailing list