Welcome Guest, Not a member yet? Register   Sign In
using plus as a space or as a plus in codeigniter
#1

[eluser]parvus[/eluser]
Normally using "+" or "%2 B" in an url means " ", empty space.

But in codeigniter when using "+" or "%2 B", it takes it as really "+" not as space char. So, i am guessing that's causing some limitations in some web-servers like godaddy.

http://www.bedavaemlaksitesi.com/mersine...-Daire-3+1

for that query i'm using that specific htaccess rule:

RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ index.php?c=$1&m=$2&metin;=$3 [L]

Because otherwise server gives blank page, when i try to use "+". But somehow i am able to use "%2 B" (but using "+" instead of "%2 B" doesn't work though) when i'm adding "index.php?" to the beginning of the url like this:

http://www.bedavaemlaksitesi.com/mersine...-Daire-3+1 and it converts + as "+" not as " ".

So, i'm guessing probably a part of uri handling code, causing that weird thing.

The question is what is causing that ?

sorry but looks like forum converting %2 B -> to + so i edited and had to use an extra space.




Theme © iAndrew 2016 - Forum software by © MyBB