[EMAIL PROTECTED] wrote:
Input validation is typically handled with something like:
if(ServerRoot ends with slash) ServerRoot = ServerRootWithFinalSlashRemoved;

I must confess that I thought this was the normal way to do things as well.

Of course, one problem is that removing a trailing slash may not be the right thing to do because Apache runs on more than just Unix. Windows is probably easy to handle compared with NetWare and mainframes.

Cheers
--
Lloyd Parkes
Senior Systems Programmer
Open Systems
Ph: +64 4 890 2437

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to