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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>21645</bug_id>
          
          <creation_ts>2008-10-16 10:34:57 -0700</creation_ts>
          <short_desc>REGRESSION (r37469-r37605): File Input not Uploaded in Multipart/Form-data Form</short_desc>
          <delta_ts>2020-05-10 10:54:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>https://www.jakks.net/test.php</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="john">jmgrogg</reporter>
          <assigned_to name="Darin Adler">darin</assigned_to>
          <cc>adele</cc>
    
    <cc>darin</cc>
    
    <cc>grahamperrin</cc>
    
    <cc>pizted</cc>
    
    <cc>rwbaskette</cc>
    
    <cc>staikos</cc>
    
    <cc>webkit</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>95547</commentid>
    <comment_count>0</comment_count>
    <who name="john">jmgrogg</who>
    <bug_when>2008-10-16 10:34:57 -0700</bug_when>
    <thetext>The $_FILES variable in php is not getting populated at all when a multipart/form-data ecntype form is submitted.  It works fine in the shipped version of Safari 3.1.2, but the nightly build fails to populate it (which tells me the form is not being submitted properly?).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95701</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-10-16 22:47:08 -0700</bug_when>
    <thetext>Last working nightly r37469. Confirmed. I saw the bug for the first time in Textpattern control panel during trying uploading file with multipart/form-data form.

Possible duplication: bug 21518.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95752</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-10-17 10:23:53 -0700</bug_when>
    <thetext>Possible duplication: bug 21707</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95867</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-10-18 03:51:15 -0700</bug_when>
    <thetext>Possible duplication: bug 21730</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95894</commentid>
    <comment_count>4</comment_count>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2008-10-18 17:33:24 -0700</bug_when>
    <thetext>This prevents uploading patches to Bugzilla too. Sam thinks it was a change Darin did.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95899</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-10-18 18:52:20 -0700</bug_when>
    <thetext>Should be very quick to fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95901</commentid>
    <comment_count>6</comment_count>
      <attachid>24497</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-10-18 19:05:20 -0700</bug_when>
    <thetext>Created attachment 24497
test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95902</commentid>
    <comment_count>7</comment_count>
      <attachid>24498</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-10-18 19:09:11 -0700</bug_when>
    <thetext>Created attachment 24498
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95903</commentid>
    <comment_count>8</comment_count>
      <attachid>24498</attachid>
    <who name="">mitz</who>
    <bug_when>2008-10-18 19:11:54 -0700</bug_when>
    <thetext>Comment on attachment 24498
patch

+        This &quot;two at a time&quot; a confusing way to do things, which explains why I got

Typo (missing &quot;is&quot;?).

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95904</commentid>
    <comment_count>9</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-10-18 19:12:57 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/37685</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95912</commentid>
    <comment_count>10</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-10-18 22:28:37 -0700</bug_when>
    <thetext>*** Bug 21707 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95914</commentid>
    <comment_count>11</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-10-18 22:28:44 -0700</bug_when>
    <thetext>*** Bug 21734 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95916</commentid>
    <comment_count>12</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-10-18 22:29:10 -0700</bug_when>
    <thetext>*** Bug 21730 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103192</commentid>
    <comment_count>13</comment_count>
    <who name="john">jmgrogg</who>
    <bug_when>2008-12-22 09:49:02 -0800</bug_when>
    <thetext>It appears that this bug has reappeared in in r39433.  The $_FILES variable in php is not getting populated on form submit if no files are chosen for the file form elements.  Works fine in the current release of Safari and Firefox, but is broken in the nightly build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103207</commentid>
    <comment_count>14</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-22 12:39:44 -0800</bug_when>
    <thetext>I understand that a bug was introduced by the new check-in, but I think that reopening this old bug report wasn&apos;t the best way to deal with that. Even though the symptom is the same.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103208</commentid>
    <comment_count>15</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-22 12:41:19 -0800</bug_when>
    <thetext>Nico, George, it looks like the refactoring broke file uploading.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103227</commentid>
    <comment_count>16</comment_count>
    <who name="George Staikos">staikos</who>
    <bug_when>2008-12-22 14:58:37 -0800</bug_when>
    <thetext>Oops.  We could back out, or fix it later today.  Which do you prefer?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103231</commentid>
    <comment_count>17</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2008-12-22 15:11:16 -0800</bug_when>
    <thetext>(In reply to comment #16)
&gt; Oops.  We could back out, or fix it later today.  Which do you prefer?
&gt; 

I&apos;ll investigate in the problem. We clearly need a layout test (!) - it bothers me stuff like that is not covered by layout tests.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103237</commentid>
    <comment_count>18</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-22 15:47:39 -0800</bug_when>
    <thetext>(In reply to comment #17)
&gt; I&apos;ll investigate in the problem. We clearly need a layout test (!) - it bothers
&gt; me stuff like that is not covered by layout tests.

Me too.

I&apos;m hoping this is quick to fix -- we probably don&apos;t need to back out if we can figure it out today.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103238</commentid>
    <comment_count>19</comment_count>
      <attachid>26217</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-22 15:48:52 -0800</bug_when>
    <thetext>Created attachment 26217
test</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103240</commentid>
    <comment_count>20</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-22 15:52:06 -0800</bug_when>
    <thetext>Hmm, a single file upload to bugzilla just worked for me. So this new bug does not have the same scope as the old one. Could someone please file a new bug report instead of reopening this one, since the new bug seems quite different from the old?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103248</commentid>
    <comment_count>21</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2008-12-22 16:22:36 -0800</bug_when>
    <thetext>(In reply to comment #20)
&gt; Hmm, a single file upload to bugzilla just worked for me. So this new bug does
&gt; not have the same scope as the old one. Could someone please file a new bug
&gt; report instead of reopening this one, since the new bug seems quite different
&gt; from the old?
&gt; 

I think I found the bug, I&apos;ll file a new seperated one.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103253</commentid>
    <comment_count>22</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2008-12-22 17:01:45 -0800</bug_when>
    <thetext>(In reply to comment #21)
&gt; (In reply to comment #20)
&gt; &gt; Hmm, a single file upload to bugzilla just worked for me. So this new bug does
&gt; &gt; not have the same scope as the old one. Could someone please file a new bug
&gt; &gt; report instead of reopening this one, since the new bug seems quite different
&gt; &gt; from the old?
&gt; &gt; 
&gt; 
&gt; I think I found the bug, I&apos;ll file a new seperated one.

Bug 22971 will cover this new seperated issue. Let&apos;s move there.
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>24497</attachid>
            <date>2008-10-18 19:05:20 -0700</date>
            <delta_ts>2008-10-18 19:09:11 -0700</delta_ts>
            <desc>test</desc>
            <filename>upload-test.txt</filename>
            <type>text/plain</type>
            <size>20</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">VGhpcyBpcyBqdXN0IGEgdGVzdC4=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>24498</attachid>
            <date>2008-10-18 19:09:11 -0700</date>
            <delta_ts>2008-10-18 19:11:54 -0700</delta_ts>
            <desc>patch</desc>
            <filename>FileInputPatch.txt</filename>
            <type>text/plain</type>
            <size>5029</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9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KHNpemVfdCBqID0gMDsgaiA8IGZvcm1EYXRhTGlzdFNpemU7IGog
Kz0gMikgeworICAgICAgICAgICAgICAgIGNvbnN0IEZvcm1EYXRhTGlzdDo6SXRlbSYga2V5ID0g
bGlzdC5saXN0KClbal07CisgICAgICAgICAgICAgICAgY29uc3QgRm9ybURhdGFMaXN0OjpJdGVt
JiB2YWx1ZSA9IGxpc3QubGlzdCgpW2ogKyAxXTsKICAgICAgICAgICAgICAgICBpZiAoIW1fbXVs
dGlwYXJ0KSB7CiAgICAgICAgICAgICAgICAgICAgIC8vIE9taXQgdGhlIG5hbWUgImlzaW5kZXgi
IGlmIGl0J3MgdGhlIGZpcnN0IGZvcm0gZGF0YSBlbGVtZW50LgogICAgICAgICAgICAgICAgICAg
ICAvLyBGSVhNRTogV2h5IGlzIHRoaXMgYSBnb29kIHJ1bGU/IElzIHRoaXMgb2Jzb2xldGUgbm93
PwotICAgICAgICAgICAgICAgICAgICBpZiAoZW5jb2RlZERhdGEuaXNFbXB0eSgpICYmIGl0ZW0u
ZGF0YSgpID09ICJpc2luZGV4IikKLSAgICAgICAgICAgICAgICAgICAgICAgIGFwcGVuZEVuY29k
ZWRTdHJpbmcoZW5jb2RlZERhdGEsIGxpc3QubGlzdCgpWysral0uZGF0YSgpKTsKKyAgICAgICAg
ICAgICAgICAgICAgaWYgKGVuY29kZWREYXRhLmlzRW1wdHkoKSAmJiBrZXkuZGF0YSgpID09ICJp
c2luZGV4IikKKyAgICAgICAgICAgICAgICAgICAgICAgIGFwcGVuZEVuY29kZWRTdHJpbmcoZW5j
b2RlZERhdGEsIHZhbHVlLmRhdGEoKSk7CiAgICAgICAgICAgICAgICAgICAgIGVsc2UgewogICAg
ICAgICAgICAgICAgICAgICAgICAgaWYgKCFlbmNvZGVkRGF0YS5pc0VtcHR5KCkpCiAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgZW5jb2RlZERhdGEuYXBwZW5kKCcmJyk7Ci0gICAgICAgICAg
ICAgICAgICAgICAgICBhcHBlbmRFbmNvZGVkU3RyaW5nKGVuY29kZWREYXRhLCBpdGVtLmRhdGEo
KSk7CisgICAgICAgICAgICAgICAgICAgICAgICBhcHBlbmRFbmNvZGVkU3RyaW5nKGVuY29kZWRE
YXRhLCBrZXkuZGF0YSgpKTsKICAgICAgICAgICAgICAgICAgICAgICAgIGVuY29kZWREYXRhLmFw
cGVuZCgnPScpOwotICAgICAgICAgICAgICAgICAgICAgICAgYXBwZW5kRW5jb2RlZFN0cmluZyhl
bmNvZGVkRGF0YSwgbGlzdC5saXN0KClbKytqXS5kYXRhKCkpOworICAgICAgICAgICAgICAgICAg
ICAgICAgYXBwZW5kRW5jb2RlZFN0cmluZyhlbmNvZGVkRGF0YSwgdmFsdWUuZGF0YSgpKTsKICAg
ICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAg
ICAgICAgICAgIFZlY3RvcjxjaGFyPiBoZWFkZXI7CkBAIC0yNjcsMTUgKzI2OSwxNSBAQCBQYXNz
UmVmUHRyPEZvcm1EYXRhPiBIVE1MRm9ybUVsZW1lbnQ6OmZvCiAgICAgICAgICAgICAgICAgICAg
IGFwcGVuZFN0cmluZyhoZWFkZXIsIGJvdW5kYXJ5KTsKICAgICAgICAgICAgICAgICAgICAgYXBw
ZW5kU3RyaW5nKGhlYWRlciwgIlxyXG4iKTsKICAgICAgICAgICAgICAgICAgICAgYXBwZW5kU3Ry
aW5nKGhlYWRlciwgIkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT1cIiIpOwot
ICAgICAgICAgICAgICAgICAgICBoZWFkZXIuYXBwZW5kKGl0ZW0uZGF0YSgpLmRhdGEoKSwgaXRl
bS5kYXRhKCkubGVuZ3RoKCkpOworICAgICAgICAgICAgICAgICAgICBoZWFkZXIuYXBwZW5kKGtl
eS5kYXRhKCkuZGF0YSgpLCBrZXkuZGF0YSgpLmxlbmd0aCgpKTsKICAgICAgICA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ICAg
ICAgICAgICArK2o7Cg==
</data>
<flag name="review"
          id="11153"
          type_id="1"
          status="+"
          setter="mitz"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>26217</attachid>
            <date>2008-12-22 15:48:52 -0800</date>
            <delta_ts>2008-12-22 15:48:52 -0800</delta_ts>
            <desc>test</desc>
            <filename>empty-file.txt</filename>
            <type>text/plain</type>
            <size>10</size>
            <attacher name="Darin Adler">darin</attacher>
            
              <data encoding="base64">ZW1wdHkgZmlsZQ==
</data>

          </attachment>
      

    </bug>

</bugzilla>