HomePhabricator

Fix instances of preg_quote() without second parameter

Authored by matmarex.

Description

Fix instances of preg_quote() without second parameter

This might work in specific cases, depending on the string we're
quoting, but is never correct. The instance in SpecialAllMessages.php
was resulting in incorrect behavior (and log spam, T103879).

Searched for this regex: preg_quote\((?:\([^)]+?\)|[^,()])+?\)

Change-Id: Icc88775970f4927ddf953e5ad7c5c19d59491573

Details

Committed
matmarexJun 25 2015, 5:43 PM
Parents
rMW9abf45ce39a5: Remove 'direction: ltr' from 'pre' styles
Branches
Unknown
Tags
Unknown
References
refs/changes/31/220831/1
ChangeId
Icc88775970f4927ddf953e5ad7c5c19d59491573