URLencoding works for all characters except / and \

2012-10-23 Thread Lightee
Dear cakephp experts, While passing parameters through URL, there are cases when the parameters contain funny characters like %$#. This problem is solved when I encode the URL. However, for some reason, characters such as backslash / and forward-slash \ simply do not work on cakephp. All other

Re: URLencoding works for all characters except / and \

2012-10-23 Thread euromark
you can either write your own escaping function who takes care of those characters, or better, use base64encode to pass those special character strings via $_GET but there you also need to tweak it a little bit, see the CakeDC search plugin for details where I fixed the method to safely encode