summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xhttpd/cgi-bin/check2
1 files changed, 2 insertions, 0 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 05532a4..d9379b3 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -1098,6 +1098,8 @@ sub html5_validate (\$)
}
if ($File->{'Direct Input'}) {
+ # if $req isn't actually encoded, this decode() call does nothing
+ $req->decode("gzip");
print "Content-type: text/html\n\n";
print "<!doctype html>";
print "<style>.hide { display: none }</style>";