From 6d432550f5803691830e899c997d5b375e6f2ec6 Mon Sep 17 00:00:00 2001 From: Jens Maus Date: Wed, 21 Nov 2018 16:50:09 +0100 Subject: [PATCH] fixed update-check.cgi script to output Content-Type: header as well. --- VERSION | 2 +- xmlapi/update-check.cgi | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index adc97d8..bc44934 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.18 +1.19 diff --git a/xmlapi/update-check.cgi b/xmlapi/update-check.cgi index b1018d6..9e949d8 100755 --- a/xmlapi/update-check.cgi +++ b/xmlapi/update-check.cgi @@ -14,7 +14,8 @@ catch { } if { [info exists cmd ] && $cmd == "download"} { - puts "" + puts -nonewline "Content-Type: text/html; charset=utf-8\r\n\r\n" + puts -nonewline "" } else { catch { set newversion [ exec /usr/bin/wget -qO- --no-check-certificate $checkURL ]