comparison src/core/ngx_string.h @ 601:77f77f53214a release-0.3.22

nginx-0.3.22-RELEASE import *) 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 was canceled. *) Bugfix: segmentation fault was occurred if the "none" or "blocked" values was specified in the "valid_referers" directive; the bug had appeared in 0.3.18.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 17 Jan 2006 20:04:32 +0000
parents 4e296b7d25bf
children 1e720b0be7ec
comparison
equal deleted inserted replaced
600:2d3a5a03e738 601:77f77f53214a
142 142
143 size_t ngx_utf_length(ngx_str_t *utf); 143 size_t ngx_utf_length(ngx_str_t *utf);
144 u_char * ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n); 144 u_char * ngx_utf_cpystrn(u_char *dst, u_char *src, size_t n);
145 145
146 146
147 #define NGX_ESCAPE_URI 0 147 #define NGX_ESCAPE_URI 0
148 #define NGX_ESCAPE_ARGS 1 148 #define NGX_ESCAPE_ARGS 1
149 #define NGX_ESCAPE_HTML 2 149 #define NGX_ESCAPE_HTML 2
150
151 #define NGX_UNESCAPE_URI 1
150 152
151 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size, 153 uintptr_t ngx_escape_uri(u_char *dst, u_char *src, size_t size,
152 ngx_uint_t type); 154 ngx_uint_t type);
153 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size); 155 void ngx_unescape_uri(u_char **dst, u_char **src, size_t size, ngx_uint_t type);
154 156
155 157
156 #define ngx_qsort qsort 158 #define ngx_qsort qsort
157 159
158 160