From 07b08c6f048732431ae45b34463387f17d68b823 Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 19 Mar 2001 19:40:47 +0000 Subject: [PATCH] decode %xx characters --- Changes | 1 + perl/winclient.pl | 2 ++ 2 files changed, 3 insertions(+) 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); -- 2.34.1