W3C home > Mailing lists > Public > www-validator@w3.org > February 2000

Re: Validator patch (tiny)

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 25 Feb 2000 17:11:42 +0100
Message-ID: <00b801bf7fab$0179adf0$c784fcc3@de>
To: "Brian Gilkison" <gilkison@one.net>
Cc: <www-validator@w3.org>
* Brian Gilkison <gilkison@one.net> wrote:
| FYI, I'm running the Validator on Win2000 Server, ActiveState Perl build
| 522, Apache 1.3.9, and I currently run the script with only 4 needed
| changes -- the 'shebang' now reads "#!d:/perl/bin/perl.exe, and I've changed
| $abs_svc_uri, $faqloc, and $element_ref (although only $abs_svc_uri is
| absolutely necessary).  The caveat is that I had to use Björn Höhrmann's
| trick of putting CMD.EXE in my Validator's cgi-bin directory (see
| http://lists.w3.org/Archives/Public/www-validator/2000JanMar/0025.html; and
| before someone screams about security issues, this validator is never
| exposed outside my home, it's strictly for personal use).  So I also look
| forward to seeing anybody's suggestions for a workaround or possible
| solution...

The reason is:

[...]
#
# delete() the, possibly tainted, $PATH.
delete $ENV{PATH};
[...]

(check,v 1.64 / line 125)

If the path is deleted, Perl cannot locate my commando processor. What are the
reasons for this line and how about removing/replacing it?

regards,
--
Björn Höhrmann · http://www.bjoernsworld.de · mailto:bjoern@hoehrmann.de
Received on Friday, 25 February 2000 11:14:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:15 UTC