This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: debugger 'R'estart and open database connections
[perl5.git] / lib / shellwords.pl
index 1c45a5a..ca7dc7e 100644 (file)
@@ -17,6 +17,7 @@ sub shellwords {
     while ($_ ne '') {
        $field = '';
        for (;;) {
+           use re 'taint'; # leave strings tainted
            if (s/^"(([^"\\]|\\.)*)"//) {
                ($snippet = $1) =~ s#\\(.)#$1#g;
            }