From: minima Date: Mon, 19 Mar 2001 19:40:47 +0000 (+0000) Subject: decode %xx characters X-Git-Tag: R_1_47~102 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=07b08c6f048732431ae45b34463387f17d68b823;p=spider.git decode %xx characters --- diff --git a/Changes b/Changes index 25e5431a..8b239b50 100644 --- a/Changes +++ b/Changes @@ -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 diff --git a/perl/winclient.pl b/perl/winclient.pl index f7f264b9..58db0b8c 100755 --- a/perl/winclient.pl +++ b/perl/winclient.pl @@ -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);