You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Graham Leggett <mi...@sharp.fm> on 2013/05/28 17:30:34 UTC

Escape / encode functions

Hi all,

APR currently contains the ability to base64 encode/decode, but many other encodings such as urlencoding are currently embedded in httpd, limiting their use in generic applications.

Would it make sense in the long term to create formal APIs for urlencoding/escaping? If no objections I plan to make this so.

Regards,
Graham
--


Re: Escape / encode functions

Posted by Ben Reser <be...@reser.org>.
On Tue, May 28, 2013 at 8:30 AM, Graham Leggett <mi...@sharp.fm> wrote:
> APR currently contains the ability to base64 encode/decode, but many other encodings such as urlencoding are currently embedded in httpd, limiting their use in generic applications.
>
> Would it make sense in the long term to create formal APIs for urlencoding/escaping? If no objections I plan to make this so.

Makes sense to me.  Subversion includes our own implementations of URL
escaping as part of our svn_uri_canonicalize().