Skip to content
Browse files

properly escape bounds URL

  • Loading branch information...
1 parent 7ef1983 commit 08c13c8d997f3b6fac01376e04c288cbd01d8778 @darrell committed Mar 10, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/geokit/geocoders.rb
View
2 lib/geokit/geocoders.rb
@@ -581,7 +581,7 @@ def self.construct_bias_string_from_options(bias)
"&region=#{bias.to_s.downcase}"
elsif bias.is_a?(Bounds)
# viewport biasing
- "&bounds=#{bias.nw.to_s}|#{bias.se.to_s}"
+ Geokit::Inflector::url_escape("&bounds=#{bias.sw.to_s}|#{bias.ne.to_s}")
end
end

0 comments on commit 08c13c8

Please sign in to comment.
Something went wrong with that request. Please try again.