Re: URI reference to a directory (what do you want to do?)

On 31 Aug 2003 at 11:22, Al Gilman wrote:

 > The file or directory that you want is probably correctly identified
 > by the URI
 >
 >    file:///e:/h

If it's actually a directory, most likely the correct URI is

file:///e:/h/

with the trailing slash at the end.  People get really sloppy about
leaving out the trailing slash of directory URIs because most Web
servers are "nice" about it and redirect the slashless forms to the
version with the slash, but in fact the use of the wrong form can
produce serious mistakes in interpreting relative URIs, as seen here.

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Received on Monday, 1 September 2003 09:44:35 UTC