rawurldecode and xss_clean() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: rawurldecode and xss_clean() (/showthread.php?tid=856) |
rawurldecode and xss_clean() - 20pro - 01-23-2015 Hi everybody, i have a little problem with function xss_clean() and rawurldecode(). I have three urls like this : http://www.laprocurepoitiers.com/actualite/agenda-20+janvier+2015+-+Fran%E7ois-Xavier+Bellamy-42.html http://www.laprocurepoitiers.com/actualite/agenda-20+janvier+2015+-+Fran%C3%A7ois-Xavier+Bellamy-42.html http://www.laprocurepoitiers.com/actualite/agenda-20+janvier+2015+-+François-Xavier+Bellamy-42.html But only the second url working properly with xss_clean(). Others are truncate in my database (Mysql) What is the best solution for properly handle urls ? Thank you for you answer |