Welcome Guest, Not a member yet? Register   Sign In
Disallowed characters in URI
#2

Am I the only one who is having this issue? Big Grin

$permittedURIChars debuted in 4.4.7.
I am having this issue since I updated from an older than 4.4.7 to 4.5.1.

I checked the system files.
In /system/Router/Router.php in my opinion $uri = urldecode($uri); is either unnecessary or in a wrong place.

How am i supposed to handle this case?

If someone mistypes something and sends some punctuation marks for example, the whole site will crash.

Whoops!
We seem to have hit a snag. Please try again later...

It would be nice to handle these cases in a more user friendly way.

I could sanitize the string with JavaScript before redirect but I would rather do that on the server side with PHP.
Reply


Messages In This Thread
Disallowed characters in URI - by loxia - 05-20-2024, 02:04 PM
RE: Disallowed characters in URI - by loxia - 05-29-2024, 04:38 PM
RE: Disallowed characters in URI - by kenjis - 05-29-2024, 06:18 PM
RE: Disallowed characters in URI - by loxia - 05-29-2024, 07:59 PM
RE: Disallowed characters in URI - by kenjis - 05-29-2024, 09:09 PM
RE: Disallowed characters in URI - by kenjis - 05-29-2024, 09:15 PM
RE: Disallowed characters in URI - by kenjis - 05-29-2024, 08:51 PM
RE: Disallowed characters in URI - by kenjis - 05-29-2024, 09:18 PM
RE: Disallowed characters in URI - by loxia - 05-30-2024, 04:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB