aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Log/ErrorHandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Log/ErrorHandler.php')
-rw-r--r--lib/private/Log/ErrorHandler.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/ErrorHandler.php b/lib/private/Log/ErrorHandler.php
index 3f4c9ee64b1..5c84c61e744 100644
--- a/lib/private/Log/ErrorHandler.php
+++ b/lib/private/Log/ErrorHandler.php
@@ -39,7 +39,7 @@ class ErrorHandler {
* @return string
*/
protected static function removePassword($msg) {
- return preg_replace('/\/\/(.*):(.*)@/', '//xxx:xxx@', $msg);
+ return preg_replace('#//(.*):(.*)@#', '//xxx:xxx@', $msg);
}
public static function register($debug = false) {