Remove supefluous encoding of ArcGIS service parameters

The http client (Typhoeus) should be provided with a UTF-8 payload
and handle itself any further encoding required by HTTP.

Fixes #10556
pull/10577/head
Javier Goizueta 8 years ago
parent 4b10090ca5
commit 0b1300a08f

@ -409,7 +409,7 @@ module CartoDB
end
end
prepared_fields = Addressable::URI.encode(fields.map { |field| "#{field[:name]}" }.join(','))
prepared_fields = fields.map { |field| "#{field[:name]}" }.join(',')
prepared_url = FEATURE_DATA_POST_URL % [url]
# @see http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Map_Service_Layer/02r3000000p1000000/

Loading…
Cancel
Save