File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/helpers/application_helper Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -412,15 +412,15 @@ def update_url_parms(url_parm)
412412
413413 url_parm_hash = preprocess_url_param ( url_parm )
414414 query_string . merge! ( url_parm_hash )
415- URI ::DEFAULT_PARSER . unescape ( "?#{ query_string . to_query } " )
415+ URI ::RFC2396_PARSER . unescape ( "?#{ query_string . to_query } " )
416416 end
417417
418418 def preprocess_url_param ( url_parm )
419419 parse_questionmark = /^\? / . match ( url_parm )
420420 parse_ampersand = /^&/ . match ( url_parm )
421421 url_parm = parse_questionmark . post_match if parse_questionmark . present?
422422 url_parm = parse_ampersand . post_match if parse_ampersand . present?
423- encoded_url = URI ::DEFAULT_PARSER . escape ( url_parm )
423+ encoded_url = URI ::RFC2396_PARSER . escape ( url_parm )
424424 Rack ::Utils . parse_query ( URI ( "?#{ encoded_url } " ) . query )
425425 end
426426
You can’t perform that action at this time.
0 commit comments