diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-12-08 20:17:37 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2002-12-08 20:17:37 +0000 |
commit | d085cc716f2bb280bae09a8c1f4d4c39396a0635 (patch) | |
tree | 42cf88ee7eb3f2df7f431a562bd39b54b6d18528 /taint.c | |
parent | 332d5f78c71e403169f58124c6048eb8b60a8d71 (diff) | |
download | perl-d085cc716f2bb280bae09a8c1f4d4c39396a0635.tar.gz |
Change the set of characters that are considered to be
safe in $ENV{TERM} for taint checkings.
p4raw-id: //depot/perl@18261
Diffstat (limited to 'taint.c')
-rw-r--r-- | taint.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |