Skip to content

Commit

Permalink
[giow] (2) multipart/form-data MIME type needs to include the boundary
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=12006

git-svn-id: http://svn.whatwg.org/webapps@5938 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 4, 2011
1 parent 171fe6d commit 1340a97
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
11 changes: 10 additions & 1 deletion complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -48742,7 +48742,11 @@ <h5 id=form-submission-algorithm><span class=secno>4.10.22.3 </span>Form submiss

<dt>If <var title="">enctype</var> is <code title=attr-fs-enctype-formdata><a href=#attr-fs-enctype-formdata>multipart/form-data</a></code></dt>

<dd>Let <var title="">MIME type</var> be "<code title="">multipart/form-data</code>".</dd>
<dd>Let <var title="">MIME type</var> be the concatenation of
the string "<code title="">multipart/form-data;</code>", a
U+0020 SPACE character, and the <a href=#multipart/form-data-boundary-string><code title="">multipart/form-data</code> boundary string</a>
generated by the <a href=#multipart/form-data-encoding-algorithm><code title="">multipart/form-data</code> encoding
algorithm</a>.</dd>

<dt>If <var title="">enctype</var> is <code title=attr-fs-enctype-text><a href=#attr-fs-enctype-text>text/plain</a></code></dt>

Expand Down Expand Up @@ -49280,6 +49284,11 @@ <h5 id=multipart-form-data><span class=secno>4.10.22.6 </span>Multipart form dat
not get converted to a 7-bit safe encoding as suggested in RFC
2388).</p>

<p>The boundary used by the user agent in generating the return
value of this algorithm is the <dfn id=multipart/form-data-boundary-string><code title="">multipart/form-data</code> boundary string</dfn>. (This
value is used to generate the MIME type of the form submission
payload generated by this algorithm.)</p>

</li>

</ol></div>
Expand Down
11 changes: 10 additions & 1 deletion index
Original file line number Diff line number Diff line change
Expand Up @@ -48725,7 +48725,11 @@ fur

<dt>If <var title="">enctype</var> is <code title=attr-fs-enctype-formdata><a href=#attr-fs-enctype-formdata>multipart/form-data</a></code></dt>

<dd>Let <var title="">MIME type</var> be "<code title="">multipart/form-data</code>".</dd>
<dd>Let <var title="">MIME type</var> be the concatenation of
the string "<code title="">multipart/form-data;</code>", a
U+0020 SPACE character, and the <a href=#multipart/form-data-boundary-string><code title="">multipart/form-data</code> boundary string</a>
generated by the <a href=#multipart/form-data-encoding-algorithm><code title="">multipart/form-data</code> encoding
algorithm</a>.</dd>

<dt>If <var title="">enctype</var> is <code title=attr-fs-enctype-text><a href=#attr-fs-enctype-text>text/plain</a></code></dt>

Expand Down Expand Up @@ -49263,6 +49267,11 @@ fur
not get converted to a 7-bit safe encoding as suggested in RFC
2388).</p>

<p>The boundary used by the user agent in generating the return
value of this algorithm is the <dfn id=multipart/form-data-boundary-string><code title="">multipart/form-data</code> boundary string</dfn>. (This
value is used to generate the MIME type of the form submission
payload generated by this algorithm.)</p>

</li>

</ol></div>
Expand Down
15 changes: 13 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -54721,8 +54721,13 @@ fur

<dt>If <var title="">enctype</var> is <code title="attr-fs-enctype-formdata">multipart/form-data</code></dt>

<dd>Let <var title="">MIME type</var> be "<code
title="">multipart/form-data</code>".</dd>
<dd>Let <var title="">MIME type</var> be the concatenation of
the string "<code title="">multipart/form-data;</code>", a
U+0020 SPACE character, and the <span><code
title="">multipart/form-data</code> boundary string</span>
generated by the <span><code
title="">multipart/form-data</code> encoding
algorithm</span>.</dd>

<dt>If <var title="">enctype</var> is <code title="attr-fs-enctype-text">text/plain</code></dt>

Expand Down Expand Up @@ -55414,6 +55419,12 @@ fur
not get converted to a 7-bit safe encoding as suggested in RFC
2388).</p>

<p>The boundary used by the user agent in generating the return
value of this algorithm is the <dfn><code
title="">multipart/form-data</code> boundary string</dfn>. (This
value is used to generate the MIME type of the form submission
payload generated by this algorithm.)</p>

</li>

</ol>
Expand Down

0 comments on commit 1340a97

Please sign in to comment.