diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2013-07-25 14:54:53 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2013-07-25 14:54:53 +0400 |
commit | 1936a67647c71291fad0fdc022ac891f4c29e03c (patch) | |
tree | 8b048a1d28408862508da4d485cfcf1036200320 /src/http/ngx_http_request.c | |
parent | ce7a5a05375dbf452a2cbe136c922f7718c15d5c (diff) | |
download | nginx-1936a67647c71291fad0fdc022ac891f4c29e03c.tar.gz nginx-1936a67647c71291fad0fdc022ac891f4c29e03c.zip |
Sub filter: fixed matching after a partial match.
After a failed partial match we now check if there is another partial
match in previously matched substring to fix cases like "aab" in "aaab".
The ctx->saved string is now always sent if it's present on return
from the ngx_http_sub_parse() function (and reset accordingly). This
allows to release parts of previously matched data.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions