id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,uname,nginx_version 70,url not properly handled in ngx_http_internal_redirect,lanshun zhou,somebody,"url is changed in ngx_http_internal_redirect, but some flags like r->valid_unparsed_uri are not always reset. Then in ngx_http_proxy_create_request the original uri is sent to backends instead of the new one. This affects the redirects in ngx_http_core_try_files_phase and ngx_http_send_error_page. Reproduce config: /test.html is sent to backend, which should be /back/test2.php {{{ upstream not_exists { server 127.0.0.1:1235; } server { listen 9998; location /test.html { try_files /cache/test.html /back/test2.php; } location /back { proxy_pass http://not_exists; } }}} ",defect,closed,minor,,nginx-core,1.1.x,fixed,url proxy,op-dev@…,Linux xxxx 2.6.18-164.6.1.el5xen #1 SMP Tue Oct 27 11:45:55 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux,"nginx version: nginx/1.1.11 TLS SNI support disabled configure arguments: --with-pcre=/search/zls/nginx/pcre-8.12 --with-http_stub_status_module --with-http_ssl_module --with-http_ssl_module --with-debug --prefix=/usr/local/nginx --with-http_realip_module --add-module=/search/zls/nginx/nginx_upstream_hash-0.3.1"