Created
June 23, 2010 01:54
-
-
Save pvh/449375 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/swirl/ec2.rb b/lib/swirl/ec2.rb | |
index 19b2497..ed02b3a 100644 | |
--- a/lib/swirl/ec2.rb | |
+++ b/lib/swirl/ec2.rb | |
@@ -35,7 +35,7 @@ module Swirl | |
end | |
def escape(value) | |
- CGI.escape(value).gsub(/\+/, "%20") | |
+ CGI.escape(value.to_s).gsub(/\+/, "%20") | |
end | |
def compile_sorted_form_data(query) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment