diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-17 20:01:27 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2006-01-17 20:01:27 +0000 |
commit | 8367b3b547d2a0337d173c6461dad42eaae532db (patch) | |
tree | 512195c0d111e5f22fcc2895ac2e4a507cb9feab /src/core/ngx_string.h | |
parent | 9a00e75ea284e34af6bac02345f161000f6cbc90 (diff) | |
download | nginx-8367b3b547d2a0337d173c6461dad42eaae532db.tar.gz |
Changes with nginx 0.3.22 17 Jan 2006v0.3.22
*) Feature: the ngx_http_perl_module supports the $r->args and
$r->unescape methods.
*) Feature: the method $r->query_string of ngx_http_perl_module is
canceled.
*) Bugfix: segmentation fault was occurred if the "none" or "blocked"
values was specified in the "valid_referers" directive; bug appeared
in 0.3.18.
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index 0192a3068..d76a0f555 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -144,13 +144,15 @@ size_t ngx_utf_length(ngx_str_t *utf); u_char * ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); -#define NGX_ESCAPE_URI 0 -#define NGX_ESCAPE_ARGS 1 -#define NGX_ESCAPE_HTML 2 +#define NGX_ESCAPE_URI 0 +#define NGX_ESCAPE_ARGS 1 +#define NGX_ESCAPE_HTML 2 + +#define NGX_UNESCAPE_URI 1 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, ngx_uint_t type); -void ngx_unescape_uri(u_char **dst, u_char **src, size_t size); +void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type); #define ngx_qsort qsort |