From: Niklas Laxström Date: Sat, 6 Dec 2014 10:47:19 +0000 (+0100) Subject: Remove double escaping in Special:Block X-Git-Tag: 1.31.0-rc.0~12918^2 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=a8e049e52a4ce70bea19e5b7f27f3395e778c86e;p=lhc%2Fweb%2Fwiklou.git Remove double escaping in Special:Block This function is used in two extensions, which also pass it to HtmlForm, so no underescaping there either. Change-Id: I93325051b3a6ef8fc242437a736b5c84bda56b7d --- diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index 14d97eb08a..195e64da7e 100644 --- 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;