ngx_unescape_uri do not unescape char '+'

Maxim Dounin mdounin at mdounin.ru
Wed Jan 19 18:23:58 MSK 2011


Hello!

On Wed, Jan 19, 2011 at 01:03:46PM -0300, Ranier wrote:

> ngx_unescape_uri dot not unescape '+' char in r->header_in->pos?

[...]

>     ngx_unescape_uri(&dst, &src, len, NGX_UNESCAPE_URI);

ngx_unescape_uri(NGX_UNESCAPE_URI) acts on uri path and '+' has no 
special meaning in path, hence shouldn't be unescaped.

Maxim Dounin



More information about the nginx-devel mailing list