homepage Welcome to WebmasterWorld Guest from 54.161.166.171
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
Double Slashes ("//") in URL
Does this signify anything, or can I filter them out?
Jeremy_H




msg:3191670
 6:09 am on Dec 18, 2006 (gmt 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

 

coopster




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

If the referer is coming from your own site you seemingly have a link setup incorrectly somewhere in your html documents.

blankmonkey




msg:3192407
 8:15 pm on Dec 18, 2006 (gmt 0)

Dito. When I have seen this, it has been a typo error int he referring document.

rkrause




msg:3192777
 1:28 am on Dec 19, 2006 (gmt 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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved