projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added set/hops and show/hops commands
[spider.git]
/
perl
/
Msg.pm
diff --git
a/perl/Msg.pm
b/perl/Msg.pm
index 336ddf00e6e8f782904d7c1aa1f9740304191a25..a8db113761392d3ffbcf2dfa740288f9a4f97c98 100644
(file)
--- a/
perl/Msg.pm
+++ b/
perl/Msg.pm
@@
-238,6
+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\x8e]/./g; # immutable CSI sequence + control characters
&{$conn->{rcvd_notification_proc}}($conn, $msg, $!);
$! = 0;
}