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:
0a2ddab
)
Merge "HtmlArmor: Pass ENT_QUOTES to htmlspecialchars()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 6 Aug 2016 23:18:16 +0000
(23:18 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 6 Aug 2016 23:18:16 +0000
(23:18 +0000)
includes/libs/HtmlArmor.php
patch
|
blob
|
history
diff --git
a/includes/libs/HtmlArmor.php
b/includes/libs/HtmlArmor.php
index
511e1c9
..
4ba1bc3
100644
(file)
--- a/
includes/libs/HtmlArmor.php
+++ b/
includes/libs/HtmlArmor.php
@@
-50,7
+50,7
@@
class HtmlArmor {
if ( $input instanceof HtmlArmor ) {
return $input->value;
} else {
- return htmlspecialchars( $input );
+ return htmlspecialchars( $input
, ENT_QUOTES
);
}
}
}