X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=taint.c;h=7d4eb41ff29c91bb556bc8e94654f54b8cfa4fbf;hb=5538b230ca39261209d43cdc40371b2d9b9dfa11;hp=7914e64ec10b00f4f8cca1ffd0202eb5ee600851;hpb=9014280dc8264580f076d4325a59f22a11592058;p=p5sagit%2Fp5-mst-13.2.git diff --git a/taint.c b/taint.c index 7914e64..7d4eb41 100644 --- a/taint.c +++ b/taint.c @@ -1,6 +1,7 @@ /* taint.c * - * Copyright (c) 1997-2002, Larry Wall + * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, + * 2000, 2001, 2002, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -129,7 +130,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;