Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #71 from dtaniwaki/improve_query_parse

Split to 2 strings for base64 encoded value
  • Loading branch information...
commit e0d924ac8a4f015a5b509552928429d9e84f8105 2 parents 931c080 + 2e8e1e7
@indirect indirect authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/webrat/core/elements/form.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.