mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
[HtmlFormat] Revert use of filter_input to $_SERVER
https://bugs.php.net/bug.php?id=49184 indicates a verified (not solved) bug where filter_input returns NULL when used with INPUT_SERVER
This commit is contained in:
parent
9173e7da54
commit
7961f8081e
@ -6,8 +6,8 @@ class HtmlFormat extends FormatAbstract{
|
||||
$extraInfos = $this->getExtraInfos();
|
||||
$title = htmlspecialchars($extraInfos['name']);
|
||||
$uri = htmlspecialchars($extraInfos['uri']);
|
||||
$atomquery = str_replace('format=Html', 'format=Atom', htmlentities(filter_input(INPUT_SERVER, 'QUERY_STRING')));
|
||||
$mrssquery = str_replace('format=Html', 'format=Mrss', htmlentities(filter_input(INPUT_SERVER, 'QUERY_STRING')));
|
||||
$atomquery = str_replace('format=Html', 'format=Atom', htmlentities($_SERVER['QUERY_STRING']));
|
||||
$mrssquery = str_replace('format=Html', 'format=Mrss', htmlentities($_SERVER['QUERY_STRING']));
|
||||
|
||||
$entries = '';
|
||||
foreach($this->getDatas() as $data){
|
||||
|
Loading…
x
Reference in New Issue
Block a user