[exim-dev] [Bug 432] Serious REGEX bug

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: bug432
Fecha:  
A: exim-dev
Asunto: [exim-dev] [Bug 432] Serious REGEX bug
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=432


tom@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID





------- Comment #2 from tom@??? 2006-12-12 19:50 -------
This is a misunderstanding. For 'regex' and 'mime_regex', Exim expands the
whole item once and treats the result as a colon-separated list of regular
expressions. This is also mentioned in the manual (Section 40.5).

In your example, you specify colons as \x3A, which both Exim's expansion
function AND the PCRE lib use to specify arbitrary byte values. After the
initial expansion of the whole value, these characters thus appear as regular
colons, and they are then used as delimiters.

Write the colons as \\x3A instead.

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email