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:
735b00b
)
cleanUp all invalid utf8 in sql for debug toolbar
author
umherirrender
<umherirrender_de.wp@web.de>
Fri, 22 Apr 2016 19:50:44 +0000
(21:50 +0200)
committer
umherirrender
<umherirrender_de.wp@web.de>
Fri, 22 Apr 2016 19:50:44 +0000
(21:50 +0200)
Some sql still contains utf8 which is not replaced by ■, clean up this
bytes by using UtfNormal.
Change-Id: I548ffd783536c65b023b1598a5c57fb9b86c6db2
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,