X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXDebug.pm;fp=perl%2FDXDebug.pm;h=ac452413555d4975dc3750bcaad5d120234fefaa;hb=cdb2c0e3a1d778485f71d406a561b38ed5238dbc;hp=a1c63407f71f1b2aba38c58782dbe77f0a73e63b;hpb=8efb8a9e2eccd817e065c1907c115587211c11de;p=spider.git diff --git a/perl/DXDebug.pm b/perl/DXDebug.pm index a1c63407..ac452413 100644 --- a/perl/DXDebug.pm +++ b/perl/DXDebug.pm @@ -56,6 +56,8 @@ sub _store chomp; my @l = split /\n/; for (@l) { + my $l = $_; + $l =~ s/([\x00\x08\x0B-\x1f\x7f-\xff])/uc sprintf("%%%02x",ord($1))/eg; print "$_\n" if defined \*STDOUT; $fp->writeunix($t, "$t^$_"); }