Welcome Guest, Not a member yet? Register   Sign In
The URI you submitted has disallowed characters
#1

[eluser]tokyotech[/eluser]
Code:
https://website.com/index.php/account/activate/emailPERCENTSIGN40domain.com/b2cbc3b68ae9886df1b265ef1e383225

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

I urlencoded() the the email before constructing this hyperlink. I see no disallowed characters, but i still get the error message "The URI you submitted has disallowed characters". After "@" and "." are removed, the page loaded. But I need those delimeters... What do I do?
#2

[eluser]rogierb[/eluser]
the @ sign is dissallowed. Either remove it or urlencode it.
#3

[eluser]tokyotech[/eluser]
The @ is actually "percent40". For some reason the forum converted it back to @. So I have no "@" in my URI.

(Original post updated)
#4

[eluser]tokyotech[/eluser]
Anyone know the answer? I can't do any AJAX calls either. I use the JS function escape on the entire URL and it still gives me that error.
#5

[eluser]tokyotech[/eluser]
Ah, whatever! F*** it! I'll just turn all my AJAX GETs into POSTs so I don't have to deal with the URI.

"Writing slow code is faster than writing code slowly."
-- me
#6

[eluser]Colin Williams[/eluser]
Why don't you just put "@" in your permitted characters? Take a peak at your $_SERVER array. All the encoded values are decoded..
#7

[eluser]tokyotech[/eluser]
I don't have @ in url_encoded() URI, so why should I add it in?




Theme © iAndrew 2016 - Forum software by © MyBB