![]() |
Some characters such as { } not allowed in URI - 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: Some characters such as { } not allowed in URI (/showthread.php?tid=3536) |
Some characters such as { } not allowed in URI - El Forum - 10-09-2007 [eluser]fry-guy[/eluser] Hello, I am trying to get the following code Code: {0FC852D2-C407-4668-9126-01148B37A0B8} Code: which translate to {0FC852D2-C407-4668-9126-01148B37A0B8} I have added {} in the permitted characters config file but it still does not work. Is this a bug or am I missing something. Code: $config['permitted_uri_chars'] = 'a-z 0-9~%.:_-{}'; Thanks Some characters such as { } not allowed in URI - El Forum - 10-09-2007 [eluser]meridimus[/eluser] You could just replace the characters before submission? Maybe you have to escape the characters or use the character/url codes? Some characters such as { } not allowed in URI - El Forum - 10-09-2007 [eluser]fry-guy[/eluser] [quote author="meridimus" date="1191945051"]You could just replace the characters before submission? Maybe you have to escape the characters or use the character/url codes?[/quote] Unfortunately I do not have any control over the characters, the are sent by a third party. Some characters such as { } not allowed in URI - El Forum - 10-16-2007 [eluser]noland[/eluser] why don't you try to translate that using another php page made by you, the third party and your CI application? I think that this is named "a proxy page" hope this helps Some characters such as { } not allowed in URI - El Forum - 10-16-2007 [eluser]danoph[/eluser] I used the method described above, using a regular PHP 'proxy page' which takes the bad stuff that CI doesn't like out of the URL. Then the proxy page hands the URL over to CI. I used this while developing a facebook application using their API |