[ZCM] [ZC] 770/ 2 Reject "Form/URL Variables Conflict"
Collector: Zope Bugs, Features, and Patches ...
zope-coders-admin@zope.org
Thu, 16 Jan 2003 09:27:45 -0500
Issue #770 Update (Reject) "Form/URL Variables Conflict"
Status Rejected, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/770
==============================================================
= Reject - Entry #2 by Caseman on Jan 16, 2003 9:27 am
Status: Pending => Rejected
You cannot perform a GET request with a form where you also have a query string in the URL. Most browsers construct a new query string from the form and replace any in the URL, however this behavior may not be consistent. AFAIK a POST request will also fail since the query string on the URL is ignored in a POST, and many browsers actively strip it.
Regardless, this is not a server bug. To pass additional values, use hidden fields on the form instead of a query string in the action.
________________________________________
= Request - Entry #1 by Anonymous User on Jan 16, 2003 5:18 am
When a page receives arguments both from a form and supplied in the URL, the ones in the URL are quietly ignored, which is unexpected behavior.
I'd like to see them merged into REQUEST.form, -or- the behavior documented so others aren't confused.
<FORM ACTION="bugtest?urlvar=456">
<INPUT TYPE=STRING NAME="InputVar1" VALUE="123">
<INPUT TYPE=SUBMIT NAME="submitbutton" VALUE="GO">
</FORM>
(hmmm, could this be a *browser* bug? how could we tell?)
==============================================================