Permalink
Browse files

Split to 2 strings for base64 encoded value

  • Loading branch information...
dtaniwaki committed Feb 20, 2013
1 parent 931c080 commit 2e8e1e7481f240255d2df64d3a939a23dbe00e0c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/webrat/core/elements/form.rb
@@ -110,7 +110,7 @@ def self.query_string_to_params(query_string)
when :rack, :sinatra
Rack::Utils.parse_nested_query(query_string)
else
query_string.split('&').map {|query| { query.split('=').first => query.split('=').last }}
query_string.split('&').map {|query| { query.split('=', 2).first => query.split('=', 2).last }}
end
end

0 comments on commit 2e8e1e7

Please sign in to comment.