bug 2450: when SA previously detected that it's in taint mode, it would reset PATH to a known string (/bin:/usr/bin:/usr/lcoal/bin).  There were a few problems with this however, 1) that negates any special dirs that the admin/user needed in PATH (dccproc, etc,) 2) That's a UNIX-centric path, it doesn't work on Windows/etc.
bug 2450: when SA previously detected that it's in taint mode, it would
reset PATH to a known string (/bin:/usr/bin:/usr/lcoal/bin).  There were
a few problems with this however, 1) that negates any special dirs that
the admin/user needed in PATH (dccproc, etc,) 2) That's a UNIX-centric
path, it doesn't work on Windows/etc.

So not only should we go through and just untaint the dirs in PATH
(verify they exist, that they're not relative, etc,) and also make sure
when we finalize PATH, it uses the appropriate path seperator as configured
in perl.


git-svn-id: d99324e817494df82bb0080d8e7ab74680731a10@5765 13f79535-47bb-0310-9956-ffa450edef68

apache/spamassassin,apache/spamassassin,apache/spamassassin,apache/spamassassin,apache/spamassassin