ISPConfig 3

Welcome to the bugtracker of the ISPConfig project. This bugtracker is for ISPConfig 3.x only.
Tasklist

FS#485 - Special characters in Mail filters argiment must be escaped

Attached to Project: ISPConfig 3
Opened by Paolo (airton) - Friday, 30 January 2009, 00:42 GMT
Last edited by Till (Till) - Thursday, 12 February 2009, 16:29 GMT
Task Type Bug Report
Category Backend / Core
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version 3.0.0.8 RC1
Due in Version 3.0.0.9 RC2
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Creating a mail filter as: Subject contains ***SPAM***

the argument "***SPAM***" used to compose regex in .mailfiler must be escaped as \*\*\*SPAM\*\*\* to bring to

if (/^Subject:.*\*\*\*SPAM\*\*\*/:h)

Any other char used in regexp sintax, like ()[].? , must be escaped
This task depends upon

Closed by  Till (Till)
Thursday, 12 February 2009, 16:29 GMT
Reason for closing:  Fixed

Loading...