[Varnish] #1557: regsuball() doesn't honor lookahead assertion on repeated strings
Varnish
varnish-bugs at varnish-cache.org
Thu Jan 15 16:35:45 CET 2015
#1557: regsuball() doesn't honor lookahead assertion on repeated strings
--------------------------------------+---------------------
Reporter: varnish@… | Owner: martin
Type: defect | Status: closed
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: lookahead pcre regsuball |
--------------------------------------+---------------------
Comment (by Lasse Karstensen <lkarsten@…>):
In [efdd025439d5914fb256ae2b2576a36c0be424a7]:
{{{
#!CommitTicketReference repository=""
revision="efdd025439d5914fb256ae2b2576a36c0be424a7"
Fix lookbehind handling in regsuball
Do not advance the subject but use the ovector information as offset,
pcre might need to peek back when handling lookbehinds.
Original patch from MegaMaddin via github.
Fixes: #1557
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1557#comment:7>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list