From fac5e7d1ed9e5abf4fd9fc9b636ecbdb070c922d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Dec 2008 10:24:48 +0100 Subject: [PATCH] disable application/xml content-type for op=view zoom mode --- backend.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend.php b/backend.php index b298ec73..13c470a9 100644 --- a/backend.php +++ b/backend.php @@ -49,10 +49,12 @@ init_connection($link); $op = $_REQUEST["op"]; + $mode = $_REQUEST["mode"]; $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 == "globalUpdateFeeds") && !$_REQUEST["noxml"]) { header("Content-Type: application/xml; charset=utf-8"); -- 2.39.5