Skip to content

Commit

Permalink
fixed update-check.cgi update script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Nov 21, 2018
1 parent 681f0e5 commit 9d2e560
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6
0.7
3 changes: 2 additions & 1 deletion www/update-check.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ catch {
}

if { [info exists cmd ] && $cmd == "download"} {
puts "<html><head><meta http-equiv='refresh' content='0; url=$downloadURL' /></head></html>"
puts -nonewline "Content-Type: text/html; charset=utf-8\r\n\r\n"
puts -nonewline "<html><head><meta http-equiv='refresh' content='0; url=$downloadURL' /></head><body></body></html>"
} else {
catch {
set newversion [ exec /usr/bin/wget -qO- --no-check-certificate $checkURL ]
Expand Down

0 comments on commit 9d2e560

Please sign in to comment.