Skip to content

Commit

Permalink
improved CCU 3.41.x compatibility by outputting a valid Content-Type
Browse files Browse the repository at this point in the history
during the version check.
  • Loading branch information
jens-maus committed Nov 26, 2018
1 parent 7cdd0c5 commit b232717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.8b
1.6.8c
1 change: 1 addition & 0 deletions www/update-check.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ if { [info exists cmd ] && $cmd == "download"} {
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 {
puts -nonewline "Content-Type: text/plain; charset=utf-8\r\n\r\n"
catch {
set newversion [ exec /usr/bin/wget -qO- --no-check-certificate $checkURL ]
}
Expand Down

0 comments on commit b232717

Please sign in to comment.