dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
8085f85
)
Merge "cleanUp all invalid utf8 in sql for debug toolbar"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 26 Apr 2016 03:22:38 +0000
(
03:22
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 26 Apr 2016 03:22:38 +0000
(
03:22
+0000)
includes/debug/MWDebug.php
patch
|
blob
|
history
diff --git
a/includes/debug/MWDebug.php
b/includes/debug/MWDebug.php
index
81770d5
..
13d25a8
100644
(file)
--- a/
includes/debug/MWDebug.php
+++ b/
includes/debug/MWDebug.php
@@
-368,6
+368,9
@@
class MWDebug {
$sql
);
+ // last check for invalid utf8
+ $sql = UtfNormal\Validator::cleanUp( $sql );
+
self::$query[] = [
'sql' => $sql,
'function' => $function,