javascript escape(); and CI url's |
[eluser]Fabdrol[/eluser]
Hi guys, I'm busy with a search engine, based on Yahoo!BOSS, but I've got a little trouble submitting javascript-escaped strings to my CI controller. The escape code: Code: var query_str = escape(query); The error msg: Code: An Error Was Encountered What can I do to allow these characters? I suppose the url is valid, since that's where the escape function is for! (isn't it?) thanks, Fabian
[eluser]BrianDHall[/eluser]
You might want to see just what URI is being called. Personally I'd use the LiveHTTP Headers plugin for firefox, just cause its the easy way out ![]()
[eluser]Fabdrol[/eluser]
I did, and the url is as follows: http://localhost/Klanten/Halal/public_ht...arch/web/i % 27 m % 20 fabdrol (I added some spaces to make it possible to display here, imagine them gone!) I think CI doesn't accept the % sign, what to do? Thanks |
Welcome Guest, Not a member yet? Register Sign In |