projects
/
twirssi-net-twitter-lite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a11bce7
)
committed http://www.ethicsgirls.com/stuff/twirssi-space-bug.patch
author
Mark Walling
<mark@markwalling.org>
Fri, 9 Apr 2010 15:14:42 +0000
(23:14 +0800)
committer
Dan Boger
<dan@peeron.com>
Fri, 9 Apr 2010 17:30:20 +0000
(
01:30
+0800)
twirssi.pl
patch
|
blob
|
history
diff --git
a/twirssi.pl
b/twirssi.pl
index 2a1965ed23a0c3e3fd7b7d409848c5ac06e987e0..334a6330ca90b1a45cbc9c0b9eccb31c7efa77b4 100644
(file)
--- 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;
}
}