diff options
author | link <link@localhost> | 2002-11-02 17:24:08 +0000 |
---|---|---|
committer | link <link@localhost> | 2002-11-02 17:24:08 +0000 |
commit | e0a69fe31af4e936190ea4777e4f3ca1005e57d6 (patch) | |
tree | ef6ece1710c1d52086f8cd2b44b02d6c5a34f4f0 | |
parent | 4fe1626c6507fe597fefc0a049e2004c15eede26 (diff) | |
download | markup-validator-e0a69fe31af4e936190ea4777e4f3ca1005e57d6.zip markup-validator-e0a69fe31af4e936190ea4777e4f3ca1005e57d6.tar.gz markup-validator-e0a69fe31af4e936190ea4777e4f3ca1005e57d6.tar.bz2 |
Allow /referrer as well as /referer.
-rwxr-xr-x | httpd/cgi-bin/check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 20185be..ee51ddb 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -9,7 +9,7 @@ # This source code is available under the license at: # http://www.w3.org/Consortium/Legal/copyright-software # -# $Id: check,v 1.281 2002-11-02 16:36:10 link Exp $ +# $Id: check,v 1.282 2002-11-02 17:24:08 link Exp $ # # Disable buffering on STDOUT! @@ -95,7 +95,7 @@ BEGIN { # # Strings - $VERSION = q$Revision: 1.281 $; + $VERSION = q$Revision: 1.282 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; @@ -157,7 +157,7 @@ $File->{'Header'} = &prepSSI({ }); $File->{'Footer'} = &prepSSI({ File => $CFG->{'Footer'}, - Date => q$Date: 2002-11-02 16:36:10 $, + Date => q$Date: 2002-11-02 17:24:08 $, }); # @@ -1933,7 +1933,7 @@ sub prepCGI { # Futz the URI so "/referer" works. if ($q->path_info) { - if ($q->path_info eq '/referer') { + if ($q->path_info eq '/referer' or $q->path_info eq '/referrer') { $q->param('uri', 'referer'); } else { my $thispage = &self_url($q); |