<?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>18558</bug_id>
          
          <creation_ts>2008-04-17 15:10:48 -0700</creation_ts>
          <short_desc>Missing post data.</short_desc>
          <delta_ts>2008-04-17 15:41:53 -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>525.x (Safari 3.1)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Paul Davis">paul.joseph.davis</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78005</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Davis">paul.joseph.davis</who>
    <bug_when>2008-04-17 15:10:48 -0700</bug_when>
    <thetext>Occasionally when posting data the actual form content is missing. At first I thought this was a result of the web framework I&apos;m working with, but reducing the error to a small python echo server I can manage to get the bug to trigger (I think. I might also be crazy).

To reproduce, download and run the small echo server, and submit the provided test file to the provided form. It generally takes a few times, but if you keep resubmitting the form you should eventually see a post that contained no data. Occasionally a post with only partial data will be read as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78007</commentid>
    <comment_count>1</comment_count>
      <attachid>20640</attachid>
    <who name="Paul Davis">paul.joseph.davis</who>
    <bug_when>2008-04-17 15:11:36 -0700</bug_when>
    <thetext>Created attachment 20640
small python echo server

Small echo server to dispaly safari&apos;s request headers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78008</commentid>
    <comment_count>2</comment_count>
      <attachid>20641</attachid>
    <who name="Paul Davis">paul.joseph.davis</who>
    <bug_when>2008-04-17 15:12:09 -0700</bug_when>
    <thetext>Created attachment 20641
Simple form with file field to post

Example form that causes the error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78009</commentid>
    <comment_count>3</comment_count>
      <attachid>20642</attachid>
    <who name="Paul Davis">paul.joseph.davis</who>
    <bug_when>2008-04-17 15:23:08 -0700</bug_when>
    <thetext>Created attachment 20642


Largish test file helps exacerbate the problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78010</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Davis">paul.joseph.davis</who>
    <bug_when>2008-04-17 15:41:53 -0700</bug_when>
    <thetext>I&apos;m a fucking retard. Disregard this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>20640</attachid>
            <date>2008-04-17 15:11:36 -0700</date>
            <delta_ts>2008-04-17 15:11:36 -0700</delta_ts>
            <desc>small python echo server</desc>
            <filename>echo.py</filename>
            <type>text/plain</type>
            <size>563</size>
            <attacher name="Paul Davis">paul.joseph.davis</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCgoiIiIKRmV0Y2hlZCBmcm9tOiBodHRwOi8vaWxhYi5jcy5i
eXUuZWR1L3B5dGhvbi9zb2NrZXQvZWNob3NlcnZlci5odG1sCkEgc2ltcGxlIGVjaG8gc2VydmVy
CiIiIgoKaW1wb3J0IHNvY2tldAppbXBvcnQgc3lzCgpob3N0ID0gJycKcG9ydCA9IDUwMDAwCmJh
Y2tsb2cgPSA1CnNpemUgPSAxPDwxNgpzID0gc29ja2V0LnNvY2tldChzb2NrZXQuQUZfSU5FVCwg
c29ja2V0LlNPQ0tfU1RSRUFNKQpzLnNldHNvY2tvcHQoIHNvY2tldC5TT0xfU09DS0VULCBzb2Nr
ZXQuU09fUkVVU0VBRERSLCAxICkKcy5iaW5kKChob3N0LHBvcnQpKQpzLmxpc3RlbihiYWNrbG9n
KQp0cnk6Cgl3aGlsZSBUcnVlOgoJCWNsaWVudCwgYWRkcmVzcyA9IHMuYWNjZXB0KCkKCQlkYXRh
ID0gY2xpZW50LnJlY3Yoc2l6ZSkKCQlzeXMuc3RkZXJyLndyaXRlKCAnJXInICUgZGF0YSApCgkJ
cHJpbnQgJ1xuJwoJCWlmIG5vdCBkYXRhOgoJCQljbGllbnQuY2xvc2UoKQpleGNlcHQgS2V5Ym9h
cmRJbnRlcnJ1cHQ6CglwYXNzCmZpbmFsbHk6CglzLmNsb3NlKCkKCXMgPSBOb25lCgo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>20641</attachid>
            <date>2008-04-17 15:12:09 -0700</date>
            <delta_ts>2008-04-17 15:12:09 -0700</delta_ts>
            <desc>Simple form with file field to post</desc>
            <filename>form.html</filename>
            <type>text/plain</type>
            <size>226</size>
            <attacher name="Paul Davis">paul.joseph.davis</attacher>
            
              <data encoding="base64">PGh0bWw+Cjxib2R5Pgo8Zm9ybSBhY3Rpb249Imh0dHA6Ly9sb2NhbGhvc3Q6NTAwMDAiIG1ldGhv
ZD0iUE9TVCIgZW5jdHlwZT0ibXVsdGlwYXJ0L2Zvcm0tZGF0YSI+CjxpbnB1dCB0eXBlPSJ0ZXh0
IiBuYW1lPSJmb28iIC8+CjxiciAvPgo8aW5wdXQgdHlwZT0iZmlsZSIgbmFtZT0iYmFyIiAvPgo8
YnIgLz4KPGlucHV0IHR5cGU9InN1Ym1pdCIgLz4KPC9mb3JtPgo8L2JvZHk+CjwvaHRtbD4KCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>