projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made the \r\n work correctly in external input
[spider.git]
/
perl
/
DXProtout.pm
diff --git
a/perl/DXProtout.pm
b/perl/DXProtout.pm
index 8de0185b10b22fb45c84b3ea3a2d11246fe71dc9..47d44c92c339e39a58c8b6076dfaf894619a57e9 100644
(file)
--- a/
perl/DXProtout.pm
+++ b/
perl/DXProtout.pm
@@
-37,6
+37,7
@@
sub pc10
}
$text = unpad($text);
$text = ' ' unless $text && length $text > 0;
}
$text = unpad($text);
$text = ' ' unless $text && length $text > 0;
+ $text =~ s/\^/%5E/g;
return "PC10^$from^$user1^$text^*^$user2^$main::mycall^~";
}
return "PC10^$from^$user1^$text^*^$user2^$main::mycall^~";
}
@@
-47,6
+48,7
@@
sub pc11
my $hops = get_hops(11);
my $t = time;
$text = ' ' if !$text;
my $hops = get_hops(11);
my $t = time;
$text = ' ' if !$text;
+ $text =~ s/\^/%5E/g;
return sprintf "PC11^%.1f^$dxcall^%s^%s^$text^$mycall^$main::mycall^$hops^~", $freq, cldate($t), ztime($t);
}
return sprintf "PC11^%.1f^$dxcall^%s^%s^$text^$mycall^$main::mycall^$hops^~", $freq, cldate($t), ztime($t);
}
@@
-59,6
+61,7
@@
sub pc12
$text = ' ' if !$text;
$wx = '0' if !$wx;
$tonode = '*' if !$tonode;
$text = ' ' if !$text;
$wx = '0' if !$wx;
$tonode = '*' if !$tonode;
+ $text =~ s/\^/%5E/g;
return "PC12^$call^$tonode^$text^$sysop^$main::mycall^$wx^$hops^~";
}
return "PC12^$call^$tonode^$text^$sysop^$main::mycall^$wx^$hops^~";
}