Forum Moderators: phranque
All these url's (and many more) get processed by the browser as a valid url - one would expect a 404 error!
On site using PHP scripts, if I type in a nonsense url it get processed and then when I click a link one the page it appends the link url to the nonsense url
example.comindex.php/////////
example.com//////////test.php
Does anyone know why this happens?
Is there a temp fix I can try in htaccess to prevent this?
www.example.com/anything-you-like/index.php
If /anything-you-like/ does contain a period or question mark, then it will resolve, just as extras has stated.
Ref: RFC2396 - Uniform Resource Identifiers (URI): Generic Syntax [faqs.org]
Jim