[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'

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:

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 mailing