<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [Web-SIG] Repeating slashes in REQUEST_URI,SCRIPT_NAME and PATH_INFO.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Graham Dumpleton wrote:<BR>
&gt; What is accepted convention for dealing with repeating slashes.<BR>
&gt; Should any web server adapter leave repeating slashes in both<BR>
&gt; SCRIPT_NAME and PATH_INFO, or should it at least normalise<BR>
&gt; SCRIPT_NAME so that it matches the designated mount point.<BR>
<BR>
The URI BNF allows for empty path segments, so a doubled slash has its own distinct meaning. And since &quot;the designated mount point&quot; is so designated by the URI, I would think one should leave doubled slashes in. IMO this certainly applies to PATH_INFO, although I could understand someone writing a server that normalized SCRIPT_NAME (and telling its users it was limited in that way).<BR>
<BR>
<BR>
Robert Brewer<BR>
System Architect<BR>
Amor Ministries<BR>
fumanchu@amor.org</FONT>
</P>

</BODY>
</HTML>