decode %xx characters
authorminima <minima>
Mon, 19 Mar 2001 19:40:47 +0000 (19:40 +0000)
committerminima <minima>
Mon, 19 Mar 2001 19:40:47 +0000 (19:40 +0000)
Changes
perl/winclient.pl

diff --git a/Changes b/Changes
index 25e5431a001d163ed9b4c2958af44df351bce255..8b239b50b307ebb8de608a8736d448a0fe67957f 100644 (file)
--- 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
index f7f264b9b7f1dd6d1687fb74b40266b9092da429..58db0b8c95f4ce960f4adbddabac9cd618738335 100755 (executable)
@@ -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);