[Catalyst] Similar attribute appears twice despite a single POST (submit) request.

Sebastian Willert willert at gmail.com
Wed Apr 29 11:32:03 GMT 2009


On Wed, 2009-04-29 at 21:22 +1000, kakimoto at tpg.com.au wrote:
> Hi, everyone,
> 
>  I have come across something interesting.

> 5) The web form contains the following:
> 
>     a) 'name' = Text box  for subscription alias
>     b) 'nominated_agent_code' = Text box for nominated agent code
>     c) 'id' = Hidden value which has the id of the current subscription
> in question

This is just a stab in the dark, but I guess your form tag is missing an
action attribute and thus resends to the same URI, thus keeping the id
query parameter. This is according to specification: nothing in HTTP
disallows using GET-Parameters in POST requests IIRC.

Cheers,
  Sebastian




More information about the Catalyst mailing list