<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>11221</bug_id>
          
          <creation_ts>2010-11-04 15:42:08 +0000</creation_ts>
          <short_desc>Contradiction regarding isindex (the special form input field)</short_desc>
          <delta_ts>2016-07-06 20:05:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>whatwg-resolved</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>editorial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Damian W">pantalaimon176</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>mike</cc>
    
    <cc>plh</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>travil</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>42131</commentid>
    <comment_count>0</comment_count>
    <who name="Damian W">pantalaimon176</who>
    <bug_when>2010-11-04 15:42:08 +0000</bug_when>
    <thetext>Where isindex is defined (http://www.w3.org/TR/html5/association-of-controls-and-forms.html#attr-fe-name-isindex) it states:
&gt; This value, if used as the name of a Text control that is the only control in a
&gt; form that is submitted using the application/x-www-form-urlencoded mechanism,
&gt; 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 (http://www.w3.org/TR/html5/association-of-controls-and-forms.html#application-x-www-form-urlencoded-encoding-algorithm) states on step 4.5:
&gt; If the entry&apos;s name is &quot;isindex&quot;, its type is &quot;text&quot;, and this is the first
&gt; entry in the form data set, then append the value to result and skip the rest of
&gt; the substeps for this entry, moving on to the next entry, if any, or the next
&gt; step in the overall algorithm otherwise.
So an isindex doesn&apos;t have to be the only control - merely the first (in the tree).

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 &quot;isindex&quot; in their form, then discovering that it doesn&apos;t show up in the submission as the expected isindex=value pair.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81712</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 15:59:15 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81830</commentid>
    <comment_count>2</comment_count>
    <who name="Robin Berjon">robin</who>
    <bug_when>2013-01-21 16:02:02 +0000</bug_when>
    <thetext>Mass move to &quot;HTML WG&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125877</commentid>
    <comment_count>3</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2016-04-15 21:44:10 +0000</bug_when>
    <thetext>HTML5.1 Bugzilla Bug Triage: The isindex element as a formal element has been removed (sometime in the past). This should resolve the contradiction.

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126892</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-07-06 20:05:48 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/pull/1095</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>