From: Rafael Garcia-Suarez Date: Sun, 8 Dec 2002 20:17:37 +0000 (+0000) Subject: Change the set of characters that are considered to be X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d085cc716f2bb280bae09a8c1f4d4c39396a0635;p=p5sagit%2Fp5-mst-13.2.git Change the set of characters that are considered to be safe in $ENV{TERM} for taint checkings. p4raw-id: //depot/perl@18261 --- diff --git a/taint.c b/taint.c index 7914e64..4ca7ba7 100644 --- a/taint.c +++ b/taint.c @@ -129,7 +129,7 @@ Perl_taint_env(pTHX) PL_tainted = was_tainted; if (t < e && isALNUM(*t)) t++; - while (t < e && (isALNUM(*t) || *t == '-' || *t == ':')) + while (t < e && (isALNUM(*t) || strchr("-_.+", *t))) t++; if (t < e) { TAINT;