хмм

Igor Sysoev is at rambler-co.ru
Thu May 19 13:48:02 MSD 2005


On Thu, 19 May 2005, Aleksey I Zavilohin wrote:

> а почему такое? куда дел число и почему там 'ьв' теперь?
>
> ...
> Escape character is '^]'.
> GET /m.phtml?v=2027858 HTTP/1.0
> Host: www.xxxxxxxxx.ru
>
> HTTP/1.1 302 Moved Temporarily
> Server: nginx/0.1.31
> Date: Thu, 19 May 2005 08:24:28 GMT
> Content-Type: text/html
> Content-Length: 161
> Connection: close
> Location: http://other.xxxxxxxxx.ru//m.phtml?v=ьв
>
> <html>
> <head><title>302 Found</title></head>
> <body bgcolor="white">
> <center><h1>302 Found</h1></center>
> <hr><center>nginx/0.1.31</center>
> </body>
> </html>
> Connection closed by foreign host.
> ...
> строчка из конфига
> ...
> server_name www.xxxxxxxxx.ru;
> location / {
> 		rewrite ^(.*)$ http://other.xxxxxxxxx.ru/$1;
> 	}
> ...

Это баг. Патч прилагается.


Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
--- src/http/ngx_http_script.c	Wed Apr 27 20:16:22 2005
+++ src/http/ngx_http_script.c	Thu May 19 13:44:09 2005
@@ -581,7 +593,7 @@
         e->buf.len = len;
     }
 
-    if (code->args && code->add_args && r->args.len) {
+    if (code->add_args && r->args.len) {
         e->buf.len += r->args.len + 1;
     }
 


More information about the nginx-ru mailing list