summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorville <ville@localhost>2007-04-27 20:20:33 +0000
committerville <ville@localhost>2007-04-27 20:20:33 +0000
commit83e6bc222b9cf8b96306bb120d246c412aed7651 (patch)
tree82e5618fb3defcb6e86791eb7c4850dc2cc9ae45
parent25c2f86389badf98952c564c817334f1685f06ca (diff)
downloadmarkup-validator-83e6bc222b9cf8b96306bb120d246c412aed7651.zip
markup-validator-83e6bc222b9cf8b96306bb120d246c412aed7651.tar.gz
markup-validator-83e6bc222b9cf8b96306bb120d246c412aed7651.tar.bz2
The error template needs to be constructed before invoking prepCGI().
-rwxr-xr-xhttpd/cgi-bin/check24
1 files changed, 9 insertions, 15 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 76c770f..44eb131 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -14,7 +14,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.504 2007-04-27 20:17:48 ville Exp $
+# $Id: check,v 1.505 2007-04-27 20:20:33 ville Exp $
#
# Disable buffering on STDOUT!
@@ -180,7 +180,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.504 $;
+ $VERSION = q$Revision: 1.505 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -259,16 +259,6 @@ $File->{Mode} = 'SGML'; # Default parse mode is SGML.
$File->{Warnings} = []; # Warnings...
$File->{Namespaces} = []; # Other (non-root) Namespaces.
-#########################################
-# Populate $File->{Opt} -- CGI Options. #
-#########################################
-
-#
-# Preprocess the CGI parameters.
-$q = &prepCGI($File, $q);
-
-
-
###############################################################################
#### Generate Template for Result. ############################################
###############################################################################
@@ -404,9 +394,13 @@ $SOAPT->param(cfg_home_page => $CFG->{'Home Page'});
undef $lang;
-#####################################################
-# Populate $File->{Opt} -- CGI Options. (continued) #
-#####################################################
+#########################################
+# Populate $File->{Opt} -- CGI Options. #
+#########################################
+
+#
+# Preprocess the CGI parameters.
+$q = &prepCGI($File, $q);
#
# Set session switches.