spaces in URLs converted to _ |
[eluser]AtlantixMedia[/eluser]
this is what I have in that regard $config['permitted_uri_chars'] = "+a-z 0-9~%.:_'-";
[eluser]AtlantixMedia[/eluser]
anyone has any idea on how to fix this issue?
[eluser]AtlantixMedia[/eluser]
ok. I put this small file in the root outside of CI. the query string is successfully echoed as 'this is a test' without spaces being replaced with _. So this is something that has to do with CI. anybody cares to tell me what's wrong with it? is it a bug? thanks test.php Code: <?php
[eluser]mglinski[/eluser]
[quote author="AtlantixMedia" date="1213731259"]this is what I have in that regard $config['permitted_uri_chars'] = "+a-z 0-9~%.:_'-";[/quote] None of those characters are spaces. add a " " to that and try again. -Matt
[eluser]AtlantixMedia[/eluser]
what do you mean there are not spaces in there..what's between z and 0?
[eluser]mglinski[/eluser]
\s is a space character in REGEXP formating. -Matt
[eluser]AtlantixMedia[/eluser]
ok. I added \s in there. Still, spaces are being replaced with _
[eluser]gunter[/eluser]
how can you know that CI is doing this... I believe it´s an apache setting or something like that...
[eluser]AtlantixMedia[/eluser]
read my previous post http://ellislab.com/forums/viewthread/75734/#416326
[eluser]AtlantixMedia[/eluser]
I can't believe nobody knows how to fix this |
Welcome Guest, Not a member yet? Register Sign In |