Mercurial > hg > nginx
comparison src/http/ngx_http_parse.c @ 485:4ebe09b07e30 release-0.1.17
nginx-0.1.17-RELEASE import
*) Change: the ngx_http_rewrite_module was rewritten from the scratch.
Now it is possible to redirect, to return the error codes, to check
the variables and referrers. The directives can be used inside
locations. The redirect directive was canceled.
*) Feature: the ngx_http_geo_module.
*) Feature: the proxy_set_x_var and fastcgi_set_var directives.
*) Bugfix: the location configuration with "=" modifier may be used in
another location.
*) Bugfix: the correct content type was set only for requests that use
small caps letters in extension.
*) Bugfix: if the proxy_pass or fastcgi_pass directives were set in the
location, and access was denied, and the error was redirected to a
static page, then the segmentation fault occurred.
*) Bugfix: if in a proxied "Location" header was a relative URL, then a
host name and a slash were added to them; the bug had appeared in
0.1.14.
*) Bugfix: the system error message was not logged on Linux.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 03 Feb 2005 19:33:37 +0000 |
parents | c52408583801 |
children | 45a460f82aec |
comparison
equal
deleted
inserted
replaced
484:60452f1c0c62 | 485:4ebe09b07e30 |
---|---|
227 break; | 227 break; |
228 #endif | 228 #endif |
229 case '/': | 229 case '/': |
230 r->complex_uri = 1; | 230 r->complex_uri = 1; |
231 break; | 231 break; |
232 case '+': | |
233 r->plus_in_uri = 1; | |
234 break; | |
232 case '?': | 235 case '?': |
233 r->args_start = p + 1; | 236 r->args_start = p + 1; |
234 state = sw_uri; | 237 state = sw_uri; |
235 break; | 238 break; |
236 default: | 239 default: |
266 #endif | 269 #endif |
267 case '/': | 270 case '/': |
268 r->uri_ext = NULL; | 271 r->uri_ext = NULL; |
269 state = sw_after_slash_in_uri; | 272 state = sw_after_slash_in_uri; |
270 break; | 273 break; |
274 case '+': | |
275 r->plus_in_uri = 1; | |
276 break; | |
271 case '%': | 277 case '%': |
272 r->quoted_uri = 1; | 278 r->quoted_uri = 1; |
273 state = sw_uri; | 279 state = sw_uri; |
274 break; | 280 break; |
275 case '?': | 281 case '?': |
289 break; | 295 break; |
290 case LF: | 296 case LF: |
291 r->uri_end = p; | 297 r->uri_end = p; |
292 r->http_minor = 9; | 298 r->http_minor = 9; |
293 goto done; | 299 goto done; |
300 case '+': | |
301 r->plus_in_uri = 1; | |
302 break; | |
294 case ' ': | 303 case ' ': |
295 r->uri_end = p; | 304 r->uri_end = p; |
296 state = sw_http_09; | 305 state = sw_http_09; |
297 break; | 306 break; |
298 } | 307 } |