<?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>9715</bug_id>
          
          <creation_ts>2006-07-03 11:42:51 -0700</creation_ts>
          <short_desc>Hiding an input=file control in a submit button&apos;s onclick handler will cause the upload to fail</short_desc>
          <delta_ts>2006-07-03 11:48:35 -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>WebKit Misc.</component>
          <version>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48100</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2006-07-03 11:42:51 -0700</bug_when>
    <thetext>If you hide a form in an onclick handler, the attached file is never actually posted to the server :(
&lt;div id=&quot;test&quot;&gt;
  &lt;form target=&quot;iframe&quot; enctype=&quot;multipart/form-data&quot; method=&quot;post&quot; action=&quot;/upload_file&quot;&gt;
    &lt;input type=&quot;file&quot; /&gt;
    &lt;input type=&quot;submit&quot; onclick=&quot;document.getElementById(&apos;test&apos;).style.display=&apos;none&apos;&quot; /&gt;
  &lt;/form&gt;
&lt;/div&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48101</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-07-03 11:48:35 -0700</bug_when>
    <thetext>See also: bug 5196</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>