How to do url-encode/ decode inside nginx module ?

Vladimir Shebordaev vshebordaev at mail.ru
Sun Aug 26 15:25:09 UTC 2012


Hi!

There are ngx_escape_uri() /ngx_unescape_uri() functions in
src/core/ngx_string.c. They can transform strings in different ways
according to the last argument. If you need
NGX_ESCAPE_URI/NGX_UNESCAPE_URI ecoding types, please refer to SSI or
XSLT module for a usage pattern.

Hope it helps.

Regards,
Vladimir


2012/8/26 Vivek Goel <goelvivek2011 at gmail.com>:
> Is there already available function to do url encode/decode of data in nginx
> module development kit ?
>
>
> regards
> Vivek Goel
>
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel



More information about the nginx-devel mailing list