Pastakhov has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/68628


Change subject: fix bug
......................................................................

fix bug

Change-Id: Ic5d5f899c3ad8283122baa6839ecfe75c9f5572f
---
M RegexFunctions.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/RegexFunctions 
refs/changes/28/68628/1

diff --git a/RegexFunctions.php b/RegexFunctions.php
index 4c98b4b..1d01c72 100644
--- a/RegexFunctions.php
+++ b/RegexFunctions.php
@@ -156,7 +156,7 @@
                        return;
                }
                $pattern = self::sanitize(
-                       $pattern,
+                       str_replace(chr(0), '', $pattern),
                        $wgRegexFunctionsAllowModifiers,
                        $wgRegexFunctionsAllowE
                );

-- 
To view, visit https://gerrit.wikimedia.org/r/68628
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5d5f899c3ad8283122baa6839ecfe75c9f5572f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RegexFunctions
Gerrit-Branch: master
Gerrit-Owner: Pastakhov <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to