remove redundant unprintable to %xx s///g
[spider.git] / perl / Msg.pm
index d93de1b77313294c8defe064f124a52b9b797534..f4f013beeb0f659417c84cd8750ccc963a8c9348 100644 (file)
@@ -238,7 +238,7 @@ FINISH:
        while (@lines){
                $msg = shift @lines;
                $msg =~ s/\%([2-9A-F][0-9A-F])/chr(hex($1))/eg;
-               $msg =~ s/[\x00-\x08\x0a-\x1f\x9b]/./g;         # immutable CSI sequence + control characters
+               $msg =~ s/[\x00-\x08\x0a-\x1f\x80-\x9f]/./g;         # immutable CSI sequence + control characters
                &{$conn->{rcvd_notification_proc}}($conn, $msg, $!);
                $! = 0;
        }