lib/tijuana_client/client.rb in tijuana_client-0.1.1 vs lib/tijuana_client/client.rb in tijuana_client-0.2.0
- old
+ new
@@ -55,10 +55,10 @@
private
def extract_data_from_params(params)
if params.has_key?('data') && params['data'].present?
- return "data=#{params['data']}"
+ return "data=#{URI::encode(params['data'])}"
else
return params
end
end
end
\ No newline at end of file