Skip to content

Commit f38af88

Browse files
authored
Remove unnecessary escaping of header() input
1 parent 1dc42d8 commit f38af88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Hooks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function onSpecialPageBeforeExecute( $special, $subPage ) {
138138
* @suppress PhanPluginNeverReturnMethod
139139
*/
140140
protected function denyAccessCustom( $customDenialHeader, $customDenialText ) {
141-
header( htmlspecialchars( $customDenialHeader ) );
141+
header( $customDenialHeader );
142142
die( htmlspecialchars( $customDenialText ) );
143143
}
144144

0 commit comments

Comments
 (0)