Skip to content

Commit

Permalink
Add URI encoding to list name
Browse files Browse the repository at this point in the history
  • Loading branch information
drobune committed Mar 24, 2015
1 parent 3b41d3c commit c6bc28a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/earthquake/commands.rb
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def self._eval_as_ruby_string(text)

# :recent yugui/ruby-committers
command %r|^:recent\s+([^\s]+)\/([^\s]+)$|, :as => :recent do |m|
puts_items twitter.list_statuses(m[1], m[2])
puts_items twitter.list_statuses(m[1], URI.escape(m[2]))
end

help :recent, "show recent tweets", <<-HELP
Expand Down

0 comments on commit c6bc28a

Please sign in to comment.