From: minima Date: Wed, 23 Feb 2005 16:37:00 +0000 (+0000) Subject: fix ^ convertion in command mode dx X-Git-Tag: R_1_52~154 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fa89a50f5bba3c7d0710fa62a342d87dafc8cc21;p=spider.git fix ^ convertion in command mode dx --- diff --git a/perl/Aranea.pm b/perl/Aranea.pm index 3fb28072..3a2190e7 100644 --- a/perl/Aranea.pm +++ b/perl/Aranea.pm @@ -307,7 +307,7 @@ sub tencode { my $s = shift; $s =~ s/([\%=|,\'\x00-\x1f\x7f-\xff])/sprintf("%%%02X", ord($1))/eg; - $s = "'$s'" if $s =~ / /; +# $s = "'$s'" if $s =~ / /; return $s; } diff --git a/perl/Thingy/Dx.pm b/perl/Thingy/Dx.pm index dd526ea5..35ff5214 100644 --- a/perl/Thingy/Dx.pm +++ b/perl/Thingy/Dx.pm @@ -66,7 +66,7 @@ sub gen_DXProt my $sd = $thing->{spotdata}; my $hops = $thing->{hops} || DXProt::get_hops(11); my $text = $sd->[3] || ' '; - $text =~ s/\^/%5E/g; + $text =~ s/\^/\%5E/g; my $t = $sd->[2]; $thing->{DXProt} = sprintf "PC11^%.1f^$sd->[1]^%s^%s^$text^$sd->[4]^$sd->[7]^$hops^~", $sd->[0], cldate($t), ztime($t); }