Welcome Guest, Not a member yet? Register   Sign In
spaces in URLs converted to _
#11

[eluser]AtlantixMedia[/eluser]
this is what I have in that regard

$config['permitted_uri_chars'] = "+a-z 0-9~%.:_'-";
#12

[eluser]AtlantixMedia[/eluser]
anyone has any idea on how to fix this issue?
#13

[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

echo $_GET['q'] . '<br />';

?&gt;
<a href="&lt;?php echo htmlentities('http://www.domain.com/test.php?q=this is a test');    ?&gt;">click</a>
#14

[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
#15

[eluser]AtlantixMedia[/eluser]
what do you mean there are not spaces in there..what's between z and 0?
#16

[eluser]mglinski[/eluser]
\s is a space character in REGEXP formating.
-Matt
#17

[eluser]AtlantixMedia[/eluser]
ok. I added \s in there. Still, spaces are being replaced with _
#18

[eluser]gunter[/eluser]
how can you know that CI is doing this... I believe it´s an apache setting or something like that...
#19

[eluser]AtlantixMedia[/eluser]
read my previous post http://ellislab.com/forums/viewthread/75734/#416326
#20

[eluser]AtlantixMedia[/eluser]
I can't believe nobody knows how to fix this




Theme © iAndrew 2016 - Forum software by © MyBB