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.

There was a problem

You must be a member of this account.

Ampersands in POST data parses as Query String Separator

#57

This can be reproduced with the following code:

class Foos < Application
  def bar
    self.logger.debug params.inspect
    ok
end

Then call:

client.post('/foos/bar', :key => "value&value2")

The interesting log part will reveal:

{:action => 'bar', :controller => 'foos', :key => 'value', :value2 => nil}

Ick.

Reported by Matt Todd · July 24th, 2008 @ 05:27 PM

State: resolved
Milestone: Release 0.5.2
Assigned to: Matt Todd Matt Todd

Activity

  1. Matt Todd
    Matt Todd
    • State changed from new to resolved

    (from [206f65f37c43869d5ff97cab58c626079ef62a63]) Fixed bug with questionable characters being POSTed and mangled when parsed due to not being escaped. Includes new tests and additional testing actions for generated apps (for testing the client). [#57 state:resolved]

    http://github.com/mtodd/halcyon/...

    July 24th, 2008 @ 06:10 PM

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.