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:
a1c58ae
)
Remove double escaping in Special:Block
author
Niklas Laxström
<niklas.laxstrom@gmail.com>
Sat, 6 Dec 2014 10:47:19 +0000
(11:47 +0100)
committer
Legoktm
<legoktm.wikipedia@gmail.com>
Thu, 18 Dec 2014 20:04:27 +0000
(20:04 +0000)
This function is used in two extensions, which also pass it to
HtmlForm, so no underescaping there either.
Change-Id: I93325051b3a6ef8fc242437a736b5c84bda56b7d
includes/specials/SpecialBlock.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index
14d97eb
..
195e64d
100644
(file)
--- a/
includes/specials/SpecialBlock.php
+++ b/
includes/specials/SpecialBlock.php
@@
-829,7
+829,7
@@
class SpecialBlock extends FormSpecialPage {
}
list( $show, $value ) = explode( ':', $option );
- $a[
htmlspecialchars( $show )] = htmlspecialchars( $value )
;
+ $a[
$show] = $value
;
}
return $a;