lib/bearcat/client_module.rb in bearcat-1.5.16 vs lib/bearcat/client_module.rb in bearcat-1.5.17

- old
+ new

@@ -91,10 +91,10 @@ val = arguments[m[1]] val = val.canvas_id if val.respond_to?(:canvas_id) val = val.id if val.respond_to?(:id) val = val['id'].presence || val[:id].presence || val if val.is_a?(Hash) val = val.to_s if val.present? - val = URI.encode_uri_component(val) if val.is_a?(String) + val = URI.encode_www_form_component(val) if val.is_a?(String) val end end end end