Merge commit 'marcenuc/lh_107_request_parser_2_3_fix' into lh_107
This commit is contained in:
commit
7f38666325
@ -79,7 +79,11 @@ module Webrat
|
|||||||
|
|
||||||
case Webrat.configuration.mode
|
case Webrat.configuration.mode
|
||||||
when :rails
|
when :rails
|
||||||
|
if defined?(ActionController::RequestParser)
|
||||||
|
ActionController::RequestParser.parse_query_parameters("#{name}=#{escaped_value}")
|
||||||
|
else
|
||||||
ActionController::AbstractRequest.parse_query_parameters("#{name}=#{escaped_value}")
|
ActionController::AbstractRequest.parse_query_parameters("#{name}=#{escaped_value}")
|
||||||
|
end
|
||||||
when :merb
|
when :merb
|
||||||
::Merb::Parse.query("#{name}=#{escaped_value}")
|
::Merb::Parse.query("#{name}=#{escaped_value}")
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user