File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def self.do_reverse_geocode(latlng)
16
16
res = self . call_geocoder_service ( submit_url )
17
17
return GeoLoc . new unless ( res . is_a? ( Net ::HTTPSuccess ) || res . is_a? ( Net ::HTTPOK ) )
18
18
json = res . body
19
- logger . debug "Google reverse-geocoding. LL: #{ latlng } . Result: #{ json } "
19
+ logger . debug "Google reverse-geocoding. LL: #{ latlng } . Result: #{ CGI . escape ( json ) } "
20
20
return self . json2GeoLoc ( json )
21
21
end
22
22
@@ -60,7 +60,7 @@ def self.do_geocode(address, options = {})
60
60
return GeoLoc . new if !res . is_a? ( Net ::HTTPSuccess )
61
61
62
62
json = res . body
63
- logger . debug "Google geocoding. Address: #{ address } . Result: #{ json } "
63
+ logger . debug "Google geocoding. Address: #{ address } . Result: #{ CGI . escape ( json ) } "
64
64
65
65
return self . json2GeoLoc ( json , address )
66
66
end
You can’t perform that action at this time.
0 commit comments