Welcome Guest, Not a member yet? Register   Sign In
permitted chars bug?
#1

[eluser]newsun[/eluser]
Okay, so I was working on adding @ chars to the URI characters list and found that if the - is not the last item on the list as below, the - does not work in the URI anymore.

Works:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\@-';

Does not work:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-\@';
#2

[eluser]xwero[/eluser]
the hypen is a meta character in regex function that is used to check the allowed characters




Theme © iAndrew 2016 - Forum software by © MyBB