diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-22 15:44:59 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-22 15:44:59 +0100 |
commit | 1267dccfe36bb274df6d3fe54f19fa67a3223427 (patch) | |
tree | 9ed563b27c11c84f18bc9f160562928231995206 /lib/log.php | |
parent | e01efd3887400ab26341260de48c23cc27a6eb82 (diff) | |
parent | 6eae96b7b03bf804fbbd891533eb4a396b26ee9d (diff) | |
download | nextcloud-server-1267dccfe36bb274df6d3fe54f19fa67a3223427.tar.gz nextcloud-server-1267dccfe36bb274df6d3fe54f19fa67a3223427.zip |
Merge branch 'stable5' into fixing-4866-stable5
Diffstat (limited to 'lib/log.php')
-rw-r--r-- | lib/log.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/log.php b/lib/log.php index 3f3334801e5..e31e2a893c4 100644 --- a/lib/log.php +++ b/lib/log.php @@ -36,6 +36,8 @@ class OC_Log { call_user_func(array(self::$class, 'init')); } $log_class=self::$class; + // remove username/passswords from URLs before writing the to the log file + $message = preg_replace('/\/\/(.*):(.*)@/', '//xxx:xxx@', $message); $log_class::write($app, $message, $level); } } |