commit | 1936a67647c71291fad0fdc022ac891f4c29e03c | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Jul 25 14:54:53 2013 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Jul 25 14:54:53 2013 +0400 |
tree | 8b048a1d28408862508da4d485cfcf1036200320 | |
parent | ce7a5a05375dbf452a2cbe136c922f7718c15d5c [diff] |
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.