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:
105502d
)
Use htmlspecialchars not htmlentities to escape tags on Version.
author
Brian Wolff
<bawolff+wn@gmail.com>
Fri, 11 Jul 2014 22:02:20 +0000
(19:02 -0300)
committer
Brian Wolff
<bawolff+wn@gmail.com>
Fri, 11 Jul 2014 22:03:22 +0000
(19:03 -0300)
htmlentities assumes that the text is iso 8859-1 prior to php 5.4
Also we use htmlspecialchars almost everywhere else.
Bug: 67840
Change-Id: I73364ac34ef7a24c48c09ec1f87102a6cbee8d8f
includes/specials/SpecialVersion.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialVersion.php
b/includes/specials/SpecialVersion.php
index
576b625
..
a857da4
100644
(file)
--- a/
includes/specials/SpecialVersion.php
+++ b/
includes/specials/SpecialVersion.php
@@
-513,7
+513,7
@@
class SpecialVersion extends SpecialPage {
);
array_walk( $tags, function ( &$value ) {
- $value = '<' . html
entitie
s( $value ) . '>';
+ $value = '<' . html
specialchar
s( $value ) . '>';
} );
$out .= $this->listToText( $tags );
} else {