[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: URLs [OT]



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]