lib/active_merchant/billing/integrations/notification.rb in activemerchant-1.1.0 vs lib/active_merchant/billing/integrations/notification.rb in activemerchant-1.2.0

- old
+ new

@@ -41,10 +41,10 @@ # Take the posted data and move the relevant data into a hash def parse(post) @raw = post.to_s for line in @raw.split('&') - key, value = *line.scan( %r{^(\w+)\=(.*)$} ).flatten + key, value = *line.scan( %r{^([A-Za-z0-9_.]+)\=(.*)$} ).flatten params[key] = CGI.unescape(value) end end end end