mirror of
git://scm.dxcluster.org/scm/spider
synced 2024-09-21 07:47:10 +00:00
decode %xx characters
This commit is contained in:
parent
741df15be4
commit
07b08c6f04
1
Changes
1
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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user