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