lib/geocoder/lookups/maxmind_geoip2.rb in geocoder-1.3.7 vs lib/geocoder/lookups/maxmind_geoip2.rb in geocoder-1.4.0
- old
+ new
@@ -13,10 +13,10 @@
def supported_protocols
[:https]
end
def query_url(query)
- "#{protocol}://geoip.maxmind.com/geoip/v2.1/#{configured_service!}/#{URI.escape(query.sanitized_text.strip)}"
+ "#{protocol}://geoip.maxmind.com/geoip/v2.1/#{configured_service!}/#{query.sanitized_text.strip}"
end
private # ---------------------------------------------------------------
##