You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Graham Leggett <mi...@sharp.fm> on 2011/10/10 16:14:45 UTC

ap_escape_path_segment() and application/x-www-form-urlencoded

Hi all,

We have a suite of useful encoding and decoding routines in util.c,  
but missing from the list of encodings we support is application/x-www- 
form-urlencoded. The closest neighbour is ap_escape_path_segment(),  
however the encoding of the space character isn't done correctly, and  
this causes subtle incompatibilities in modules like mod_include.

I propose the addition of an ap_escape_form_urlencoded() encoding to  
the existing encodings, for the use of mod_include, and for the use of  
other external modules that might have the same issue.

Any objections?

Regards,
Graham
--