in reply to Re: taint mode
in thread taint mode
After a cup of coffee I go on with this workaround but still hoping somebody can explain me why I have to do this.
if ($value =~ /^([\w|\s|\/|\-]+)$/) { $value = $1; } else { die "Reg. exp. failed: $value!\n"; } if ($value =~ /^(.*)$/) { $value = $1; }
So it should be save and it is working. And for those interested in the value of $value ("x123uvw1").
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: taint mode
by Anonymous Monk on Mar 17, 2015 at 09:18 UTC | |
by McGaida (Initiate) on Mar 17, 2015 at 14:05 UTC | |
by Anonymous Monk on Mar 19, 2015 at 07:18 UTC |