dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b36df6e
)
Revert r102504 (allow ESC in debug output): the justification in the comment above...
author
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 9 Dec 2011 06:03:27 +0000
(06:03 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Fri, 9 Dec 2011 06:03:27 +0000
(06:03 +0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
7624887
..
3223a55
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-830,7
+830,7
@@
function wfDebug( $text, $logonly = false ) {
if ( $wgDebugLogFile != '' && !$wgProfileOnly ) {
# Strip unprintables; they can switch terminal modes when binary data
# gets dumped, which is pretty annoying.
- $text = preg_replace( '![\x00-\x08\x0b\x0c\x0e-\x1
a\x1c-\x1
f]!', ' ', $text );
+ $text = preg_replace( '![\x00-\x08\x0b\x0c\x0e-\x1f]!', ' ', $text );
$text = $wgDebugLogPrefix . $text;
wfErrorLog( $text, $wgDebugLogFile );
}