diff options
author | Ted Guild <ted@w3.org> | 2013-03-19 11:59:30 -0400 |
---|---|---|
committer | Ted Guild <ted@w3.org> | 2013-03-19 11:59:30 -0400 |
commit | 8f756b4acb09994a115e29f54672eaecd169a88d (patch) | |
tree | e961b7f7a389a1dd490880a4c8380ef2d3d49632 | |
parent | d686e08c53dde3e133cd81a381149bd5c63ed010 (diff) | |
download | markup-validator-8f756b4acb09994a115e29f54672eaecd169a88d.zip markup-validator-8f756b4acb09994a115e29f54672eaecd169a88d.tar.gz markup-validator-8f756b4acb09994a115e29f54672eaecd169a88d.tar.bz2 |
allow additional ua info from config file
-rwxr-xr-x | httpd/cgi-bin/check | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 9738554..c5341c8 100755 --- a/httpd/cgi-bin/check +++ b/httpd/cgi-bin/check @@ -370,7 +370,7 @@ $File->{Opt}->{DOCTYPE} = $q->param('doctype') || ''; $File->{Opt}->{'User Agent'} = $q->param('user-agent') && $q->param('user-agent') ne "1" ? $q->param('user-agent') : - "W3C_Validator/$VERSION"; + "W3C_Validator/$VERSION " . $CFG->{'User Agent Info'}; $File->{Opt}->{'User Agent'} =~ tr/\x00-\x09\x0b\x0c-\x1f//d; if ($File->{Opt}->{'User Agent'} eq 'mobileok') { |