From: Mark Walling Date: Fri, 9 Apr 2010 15:14:42 +0000 (+0800) Subject: committed http://www.ethicsgirls.com/stuff/twirssi-space-bug.patch X-Git-Url: https://git.sommitrealweird.co.uk/twirssi-net-twitter-lite.git/commitdiff_plain/e27a5afde618822a4890917e5e1587d45b2886a4 committed http://www.ethicsgirls.com/stuff/twirssi-space-bug.patch --- diff --git a/twirssi.pl b/twirssi.pl index 2a1965e..334a633 100644 --- a/twirssi.pl +++ b/twirssi.pl @@ -1216,7 +1216,7 @@ sub do_updates { } $id_map{__searches}{$username}{$topic} = $search->{max_id}; - $topic =~ s/ /\\ /g; + $topic =~ s/ /%20/g; printf $fh "id:%s account:%s type:searchid topic:%s\n", $search->{max_id}, $username, $topic; @@ -1335,7 +1335,7 @@ sub monitor_child { foreach my $key (qw/id account nick type topic/) { if (s/^$key:((?:\S|\\ )+)\s*//) { $meta{$key} = $1; - $meta{$key} =~ s/\\ / /g; + $meta{$key} =~ s/%20/ /g; } }