mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
disable application/xml content-type for op=view zoom mode
This commit is contained in:
@@ -49,10 +49,12 @@
|
|||||||
init_connection($link);
|
init_connection($link);
|
||||||
|
|
||||||
$op = $_REQUEST["op"];
|
$op = $_REQUEST["op"];
|
||||||
|
$mode = $_REQUEST["mode"];
|
||||||
|
|
||||||
$print_exec_time = false;
|
$print_exec_time = false;
|
||||||
|
|
||||||
if ((!$op || $op == "rpc" || $op == "rss" || $op == "view" ||
|
if ((!$op || $op == "rpc" || $op == "rss" ||
|
||||||
|
($op == "view" && $mode != "zoom") ||
|
||||||
$op == "digestSend" || $op == "viewfeed" || $op == "publish" ||
|
$op == "digestSend" || $op == "viewfeed" || $op == "publish" ||
|
||||||
$op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) {
|
$op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) {
|
||||||
header("Content-Type: application/xml; charset=utf-8");
|
header("Content-Type: application/xml; charset=utf-8");
|
||||||
|
|||||||
Reference in New Issue
Block a user