Re: [BUG] ngx_http_sub_module fails to process single-char patterns

2014-09-03 Thread Yichun Zhang (agentzh)
Hi Konstantin On Wed, Sep 3, 2014 at 12:20 PM, Konstantin Pavlov wrote: > > And it was, nine days ago: http://hg.nginx.org/nginx/rev/5322be87fc02 > Awesome! Thanks! Sorry for not checking the latest hg repos :) Regards, -agentzh ___ nginx-devel mailin

Re: [BUG] ngx_http_sub_module fails to process single-char patterns

2014-09-03 Thread Konstantin Pavlov
On 03/09/2014 23:09, Yichun Zhang (agentzh) wrote: Hello! On Wed, Sep 3, 2014 at 12:06 PM, Yichun Zhang (agentzh) wrote: I've noted a bug in nginx 1.7.4's standard ngx_http_sub_module that single-char patterns are never handled properly but longer patterns work. Oops, I used to report this is

Re: [BUG] ngx_http_sub_module fails to process single-char patterns

2014-09-03 Thread Yichun Zhang (agentzh)
Hello! On Wed, Sep 3, 2014 at 12:06 PM, Yichun Zhang (agentzh) wrote: > I've noted a bug in nginx 1.7.4's standard ngx_http_sub_module that > single-char patterns are never handled properly but longer patterns > work. Oops, I used to report this issue almost 2 years ago: http://mailman.ngin

[BUG] ngx_http_sub_module fails to process single-char patterns

2014-09-03 Thread Yichun Zhang (agentzh)
Hello! I've noted a bug in nginx 1.7.4's standard ngx_http_sub_module that single-char patterns are never handled properly but longer patterns work. Consider the following minimal example: location = /t { default_type text/html; return 200 "hello world"; sub_filter 'h'