Joe Butler escribió:
> The problem is that when a url such as:
>
> example.com/?page=whatever
>
> is url encoded to:
>
> example.com/%3Fpage%3Dwhatever
>
> then it appears that Apache is not seeing the %3F as a ? parameter marker,
> but rather as the first character of a filename (but in an encoded form).
That's the whole point of it all. You use "?" to start the parameters
and you use "%3F" when you have a parameter that has a "?" inside.
> So, if I create a file called ?.php and then use the url:
> example.com/%3F.php
>
> the actual file called ?.php is called.
Correct. Otherwise, the file would be impossible to load.
> What do I do to stop this?
It depends on how you got there :)
--
--
http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web:
http://bits.demogracia.com
-- Mi web de humor al baño María:
http://www.demogracia.com
--