mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-08 13:49:14 +00:00
noxml option in url to prevent setting xml content-type for rpc debugging
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
$op = $_REQUEST["op"];
|
||||
|
||||
if ($op == "rpc" || $op == "updateAllFeeds") {
|
||||
if (($op == "rpc" || $op == "updateAllFeeds") && !$_REQUEST["noxml"]) {
|
||||
header("Content-Type: application/xml");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user