decode %xx characters

This commit is contained in:
minima 2001-03-19 19:40:47 +00:00
parent 741df15be4
commit 07b08c6f04
2 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
19Mar01=======================================================================
1. Add 'not allowed' messages into sh/filter with callsign and reduce priv
2. decode %xx characters in winclient.pl
necessary to 1.
18Mar01=======================================================================
1. minor changes to user and admin manuals. Added revsion numbers

View File

@ -75,6 +75,8 @@ if ($childpid) {
STDOUT->autoflush(1);
while (defined (my $msg = <$handle>)) {
my ($sort, $call, $line) = $msg =~ /^(\w)([^\|]+)\|(.*)$/;
next unless defined $sort;
$line =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg;
if ($sort eq 'Z') {
kill 'TERM', $childpid;
exit(0);