mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-12 01:48:48 +00:00
[HtmlFormat] Use str_ireplace() when creating feed format URLs (#2008)
Fixes feed format URLs not being created with correct format value if html feed URL uses a lowercase format value.
This commit is contained in:
parent
2ce1a6365b
commit
b25674b3a0
@ -19,7 +19,7 @@ class HtmlFormat extends FormatAbstract {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$query = str_replace('format=Html', 'format=' . $format, htmlentities($_SERVER['QUERY_STRING']));
|
$query = str_ireplace('format=Html', 'format=' . $format, htmlentities($_SERVER['QUERY_STRING']));
|
||||||
$buttons .= $this->buildButton($format, $query) . PHP_EOL;
|
$buttons .= $this->buildButton($format, $query) . PHP_EOL;
|
||||||
|
|
||||||
$mime = $formatFac->create($format)->getMimeType();
|
$mime = $formatFac->create($format)->getMimeType();
|
||||||
|
Loading…
Reference in New Issue
Block a user