From e27a5afde618822a4890917e5e1587d45b2886a4 Mon Sep 17 00:00:00 2001 From: Mark Walling Date: Fri, 9 Apr 2010 23:14:42 +0800 Subject: [PATCH 1/1] committed http://www.ethicsgirls.com/stuff/twirssi-space-bug.patch --- twirssi.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.39.5