Skip to content

Commit

Permalink
don't perform HTML escaping for server constants to avoid breaking al…
Browse files Browse the repository at this point in the history
…phabetical index for diacritics
  • Loading branch information
osma committed Jan 8, 2024
1 parent a1cd362 commit 7d3bb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function getQueryParamBoolean($paramName, $default)
public function getServerConstant($paramName)
{
if (!isset($this->serverConstants[$paramName])) return null;
return filter_var($this->serverConstants[$paramName], FILTER_SANITIZE_FULL_SPECIAL_CHARS);
return filter_var($this->serverConstants[$paramName], FILTER_SANITIZE_ADD_SLASHES);
}

public function getCookie($paramName)
Expand Down

0 comments on commit 7d3bb21

Please sign in to comment.