lib/plasticine/authentication.rb in plasticine-1.1.0 vs lib/plasticine/authentication.rb in plasticine-1.1.1
- old
+ new
@@ -22,10 +22,11 @@
private
def compacted_params
- @params.map{ |k,v| "#{k}#{v}" if not reserved_params.include?(k.to_s) }.join
+ ps = @params.respond_to?(:to_unsafe_h) ? @params.to_unsafe_h : @params
+ ps.map{ |k,v| "#{k}#{v}" if not reserved_params.include?(k.to_s) }.join
end
def filtered_url
url = @request_url.split('?').first.rpartition('/').first + compacted_params
url.chars.sort.join.gsub('/', '')