Welcome Guest, Not a member yet? Register   Sign In
Last URI segment is zero (/0) -> error Disallowed characters
#5

Hi Again,

finally I solved it. I found that long time ago we commented a check related to UTF8 encodig in URI.php

Code:
if ( ! empty($str) && ! empty($this->_permitted_uri_chars) && ! preg_match('/^['.$this->_permitted_uri_chars.']+$/i'.(UTF8_ENABLED ? 'u' : ''), $str))

And we only left the first condition. We had some code issues that seem not to reproduce after revert that comment. And /0 now works fine.

So sorry, at the end it was a problem related to our own modifications.

About posting in two different places, I'm sorry if somehow it bothered you, it was not the intention. It was urgent and to give more visibility to this issue I posted in a more generic forum like StackOverflow and a dedicated community like this one. I will not do it in the future. 

Thanks.
Reply


Messages In This Thread
RE: Last URI segment is zero (/0) -> error Disallowed characters - by Datenshi - 05-23-2017, 08:44 PM



Theme © iAndrew 2016 - Forum software by © MyBB