Welcome to WebmasterWorld Guest from 54.159.50.111

Forum Moderators: phranque

Message Too Old, No Replies

Double Slashes ("//") in URL

Does this signify anything, or can I filter them out?

     
6:09 am on Dec 18, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Aug 12, 2005
posts:411
votes: 0


Sometimes I see requests for files like http://www.example.com//file/

Does the double slash "//" mean anything?

I'm thinking about filtering requests with double slashes to just single slashes, but I'm wondering if I'll be messing anything up.

http://www.example.com//file/ => http://www.example.com/file/

Thanks

3:57 pm on Dec 18, 2006 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


If the referer is coming from your own site you seemingly have a link setup incorrectly somewhere in your html documents.
8:15 pm on Dec 18, 2006 (gmt 0)

New User

5+ Year Member

joined:Nov 10, 2006
posts:35
votes: 0


Dito. When I have seen this, it has been a typo error int he referring document.
1:28 am on Dec 19, 2006 (gmt 0)

New User

5+ Year Member

joined:Nov 21, 2006
posts:24
votes: 0


Dear Jeremy_H:

This redundancy can be the result of a miswritten RewriteRule directive in a per-directory context. If you use mod_rewrite, check the RewriteBase. Does the anomaly only occur after a specific file or directory request? Alternatively, does the anomaly only occur with a specific user-agent -- particularly, one that appears to be a robot? If possible, try going to the refering page and examine the source code.

--Randall