projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
741df15
)
decode %xx characters
author
minima
<minima>
Mon, 19 Mar 2001 19:40:47 +0000
(19:40 +0000)
committer
minima
<minima>
Mon, 19 Mar 2001 19:40:47 +0000
(19:40 +0000)
Changes
patch
|
blob
|
history
perl/winclient.pl
patch
|
blob
|
history
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
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
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 f7f264b9b7f1dd6d1687fb74b40266b9092da429..58db0b8c95f4ce960f4adbddabac9cd618738335 100755
(executable)
--- 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)([^\|]+)\|(.*)$/;
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);
if ($sort eq 'Z') {
kill 'TERM', $childpid;
exit(0);