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:
483381a
)
Merge "Avoid double escaped expiry time on action=protect"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Thu, 29 Jan 2015 20:14:37 +0000
(20:14 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Thu, 29 Jan 2015 20:14:37 +0000
(20:14 +0000)
includes/ProtectionForm.php
patch
|
blob
|
history
diff --git
a/includes/ProtectionForm.php
b/includes/ProtectionForm.php
index
4eae1ce
..
f777a37
100644
(file)
--- a/
includes/ProtectionForm.php
+++ b/
includes/ProtectionForm.php
@@
-412,11
+412,9
@@
class ProtectionForm {
} else {
list( $show, $value ) = explode( ":", $option );
}
- $show = htmlspecialchars( $show );
- $value = htmlspecialchars( $value );
$expiryFormOptions .= Xml::option(
$show,
-
$value
,
+
htmlspecialchars( $value )
,
$this->mExpirySelection[$action] === $value
) . "\n";
}