![]() |
The URI you submitted has disallowed characters? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: The URI you submitted has disallowed characters? (/showthread.php?tid=18986) Pages:
1
2
|
The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]ownersbox[/eluser] Hi Guys, I searched the forums and found similar problems to mine but the solutions did not work. Here are the details, any help is appreciated My URL (No Space in the actual url) Code: http://www.mydomain.com/verify/ownersbox% 40mydomain.com/7a2347d96752880e3d58d72e9813cc14 Config $config['uri_protocol'] = "AUTO"; $config['permitted_uri_chars'] = 'a-z 0-9~%.:?=_\-'; htaccess <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule> <IfModule !mod_rewrite.c> ErrorDocument 404 /index.php </IfModule> The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]Dam1an[/eluser] try it without the % 4 0 (without the spaces, as % 4 0 is @) I have a feeling its interpreting that as whatever character that translates to (like % 2 0 is a space etc) Or, just add @ to allowed characters The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]ownersbox[/eluser] Are you suggesting that as a solution or to determine where the problem is? I will test it now but ultimately I need to include a proper email or some alternative The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]Dam1an[/eluser] initially I suggested removing % 40 to check if that was cauing the problem... then I found out it means @ as thats what the forum translated it to, so the solution would be to add @ to allowed characters The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]ownersbox[/eluser] the % 40 was the issue, any idea how to fix it? I have % in the allowed characters. The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]Dam1an[/eluser] Have you tried adding '@'? The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]ownersbox[/eluser] I set $config['permitted_uri_chars'] = 'a-z 0-9~%. ![]() but I am getting a 404 error I appreciate your help The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]Dam1an[/eluser] Its definatly progress What have you got in your routes file that is supposed to match this? The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]ownersbox[/eluser] I'm sorry this little project is my first try with CI, I haven't modified my routes file besides setting my default_controller. How should I modify it? Again thank you The URI you submitted has disallowed characters? - El Forum - 05-24-2009 [eluser]Dam1an[/eluser] In which case, a little background reading is in order ![]() Whats happening is, at the moment, CI is looking for a function with the name of the email address in the verify controller (passing the key as a paramter) What you want to do, is map it to a controller (such as account) to the verify fuction, passing the email and key as the 2 parameters |