W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2010

[Bug 11221] New: Contradiction regarding isindex (the special form input field)

From: <bugzilla@jessica.w3.org>
Date: Thu, 04 Nov 2010 15:42:10 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-11221-2486@http.www.w3.org/Bugs/Public/>

           Summary: Contradiction regarding isindex (the special form
                    input field)
           Product: HTML.next
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: default
        AssignedTo: dave.null@w3.org
        ReportedBy: pantalaimon176@yahoo.com
         QAContact: public-html-bugzilla@w3.org
                CC: plh@w3.org, mike@w3.org

Where isindex is defined
it states:
> This value, if used as the name of a Text control that is the only control in a
> form that is submitted using the application/x-www-form-urlencoded mechanism,
> causes the submission to only include the value of this control, with no name.
So an isindex can be the only control in the form.

The urlencoded encoding algorithm
states on step 4.5:
> If the entry's name is "isindex", its type is "text", and this is the first
> entry in the form data set, then append the value to result and skip the rest of
> the substeps for this entry, moving on to the next entry, if any, or the next
> step in the overall algorithm otherwise.
So an isindex doesn't have to be the only control - merely the first (in the

To me, the former makes more sense than the latter. It also reduces the risk of
someone accidentally (eg) using a hidden form field named "isindex" in their
form, then discovering that it doesn't show up in the submission as the
expected isindex=value pair.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 4 November 2010 15:42:14 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:00 UTC