projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Use the right prototype and a glob is fine (from Rafael).
[p5sagit/p5-mst-13.2.git]
/
taint.c
diff --git
a/taint.c
b/taint.c
index
7914e64
..
4ca7ba7
100644
(file)
--- 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;