A little help please? Can anybody tell me how to remove multiple "/"s in a URL? I’ve been able to remove them from a Query String, but I’m having trouble with something like this:
http://mydomain.com//index.php//?something=x
I think Apache reads them as single-slashes, but I see people trying to access my site using "//"s. When I type them into my URL (like above), it seems to slow down the loading of the site. I’m not sure what effect they have.
Using URL injection (with CRLFs), hackers have been able to use my site to implement faux/phishing PayPal sites. I thought I had shut them down using mod_rewrite, but then they starting using %0a to continue/perpetuate(?) the processing of the URL. Since that info is in the query string, I think I have that under control now, but I can’t seem to get rid of "//"s as in the example above.
Thanks for any help!