+ Start a Discussion

apex:form's action attribute ignores query parameters after the first

Given a page fetched as




The generated code loaded by the browser shows as:


<apex:form ... method="post" action="https://xxx.xxx.salesforce.com/apex/testpage?first=one" ... >


When a submit action is taken, and the controller returns null for a pagereference as it's supposed to, parameters after the first are truncated.


As a consequence, attempts to re-load/re-fresh the page after submitting a form throw errors, as will bookmarks for the improperly composed URI throw errors when users attempt to visit them.


Has anybody else noticed this behavior?


It's always been this way. It'd be nice to see this fixed.