mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class HtmlFormat extends FormatAbstract {
|
|||
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;
|
||||
|
||||
$mime = $formatFac->create($format)->getMimeType();
|
||||
|
|
Loading…
Add table
Reference in a new issue