Page MenuHomePhabricator

AbuseFilter should handle invalid regexps (not cause a fatal error)
Closed, ResolvedPublic

Description

See bug 31379.

Regexps built at runtime are not checked for correctness, so a badly designed filter may cause the preg_match to fail.

This should be handled properly, to avoid a fatal error (again, see bug 31379).

Thanks and best regards,

Arkanosis@frwiki


Version: unspecified
Severity: normal

Details

Reference
bz31421

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:49 PM
bzimport added a project: AbuseFilter.
bzimport set Reference to bz31421.
bzimport added a subscriber: Unknown Object (MLST).

This was fixed in r99059/r99060, deployed about 12 hours ago.

Great, that must be why I didn't manage to reproduce the bug a few hours ago.

Thanks you!