cakephp/cakephp — pull request #910 by dereuromark (2012-10-23 16:04:07+00:00)
Title: 2.3 safe url encode

based on the search plugin, https://groups.google.com/forum/?fromgroups=#!topic/cake-php/5o1Mw-ukGmM and a few more uses cases it seems that neither base64encode nor urlencode can achieve that we can make strings url-compatible as query strings. at least not without quite some overhead.

The problem is that both methods return a string that still can contain harmful characters regarding valid urls.

So it might make sense to provide this in the String class then.