title: Use base64 encoded string in url cakephp
body: <p>here is the solution for php <a href="https://stackoverflow.com/questions/1374753/passing-base64-encoded-strings-in-url">Passing base64 encoded strings in URL</a></p>
  
  <p>but because of urlencode cakephp problem I cant use it (the solution in there is not good for me)</p>
  
  <p><a href="https://stackoverflow.com/questions/4750989/passing-an-urlencoded-url-as-parameter-to-a-controller-action-at-cakephp">Passing an urlencoded URL as parameter to a controller / action at CakePHP</a></p>
  
  <p>Rawurlencode does not work either. Also I cant hash it because I need it to be reversible. Or is there some "reversible" hash function. I know that the meaning of hash is for one way, but like some way to get output similar(so I can use in the url without problems) to md5/sha* but be able to reverse.</p>
  
  <p><strong>QSN:</strong> how to use base64 encoded string in url to avoid problems, mentioned in the above link.</p>