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:
5ac19ad
)
Merge "Remove htmlspecialchars for Html::hidden"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 11 Nov 2017 23:22:42 +0000
(23:22 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 11 Nov 2017 23:22:42 +0000
(23:22 +0000)
includes/EditPage.php
patch
|
blob
|
history
diff --git
a/includes/EditPage.php
b/includes/EditPage.php
index
4260c99
..
ff224c5
100644
(file)
--- a/
includes/EditPage.php
+++ b/
includes/EditPage.php
@@
-3288,7
+3288,7
@@
class EditPage {
protected function showFormBeforeText() {
$out = $this->context->getOutput();
- $out->addHTML( Html::hidden( 'wpSection',
htmlspecialchars( $this->section )
) );
+ $out->addHTML( Html::hidden( 'wpSection',
$this->section
) );
$out->addHTML( Html::hidden( 'wpStarttime', $this->starttime ) );
$out->addHTML( Html::hidden( 'wpEdittime', $this->edittime ) );
$out->addHTML( Html::hidden( 'editRevId', $this->editRevId ) );