Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Request unescapes redirected action

#9

And this could potentially cause problems if the redirected action has some escaped information... not entirely sure if that will be the case or not but it is notable that the test links fail without this patch:


          # make action relative to host
          action, query = action.split('?', 2)
          uri = URI.parse(hash['headers']['Referer'].to_s)
          uri.path = action
          uri.query = query.gsub(/\s/, "+")
          uri.to_s

Perhaps parse the query string on the redirected uri and rebuild.

Reported by bahuvrihi · March 19th, 2009 @ 12:22 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.