diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-10-22 10:19:17 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-10-22 10:19:17 +0000 |
commit | f0a51cfa098d25bf9af01523ff6a220e983fa717 (patch) | |
tree | 3c5bffa71b6d5dc60cdbc2ffb9f6306fc13d56d0 /src/core/ngx_string.h | |
parent | 070cf22ab45774b1f44d7eba5f6cd580998bd7b4 (diff) | |
download | nginx-f0a51cfa098d25bf9af01523ff6a220e983fa717.tar.gz nginx-f0a51cfa098d25bf9af01523ff6a220e983fa717.zip |
unescape SSI include
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r-- | src/core/ngx_string.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h index f96795134..275c8db5e 100644 --- a/src/core/ngx_string.h +++ b/src/core/ngx_string.h @@ -155,14 +155,15 @@ size_t ngx_utf_length(u_char *p, size_t n); 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_REFRESH 3 -#define NGX_ESCAPE_MEMCACHED 4 -#define NGX_ESCAPE_MAIL_AUTH 5 - -#define NGX_UNESCAPE_URI 1 +#define NGX_ESCAPE_URI 0 +#define NGX_ESCAPE_ARGS 1 +#define NGX_ESCAPE_HTML 2 +#define NGX_ESCAPE_REFRESH 3 +#define NGX_ESCAPE_MEMCACHED 4 +#define NGX_ESCAPE_MAIL_AUTH 5 + +#define NGX_UNESCAPE_URI 1 +#define NGX_UNESCAPE_REDIRECT 2 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, ngx_uint_t type); |