<?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>7763</bug_id>
          
          <creation_ts>2006-03-14 05:10:18 -0800</creation_ts>
          <short_desc>Empty action URIs in Forms redirect towards site root and not same document</short_desc>
          <delta_ts>2009-03-20 01:47:50 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>19884</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Olivier Le Floch">alakazam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>crisp</cc>
    
    <cc>ian</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36222</commentid>
    <comment_count>0</comment_count>
    <who name="Olivier Le Floch">alakazam</who>
    <bug_when>2006-03-14 05:10:18 -0800</bug_when>
    <thetext>It would seem, according to rfc3986, §4.4, that an empty URI action for a html form, such as
&lt;form action=&quot;&quot;&gt;
is supposed to redirect towards the same document.

Several other browsers act in this manner, but Webkit redirects towards the base location of the web site.

This bug is present on http://frankiz.net/, however the site is not open for user registration.

This bug poses a problem for websites that are visible from several locations with different access paths (proxypass for instance).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36295</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-03-14 08:57:28 -0800</bug_when>
    <thetext>This may or may not be related to Bug 6958.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36314</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-03-14 13:16:27 -0800</bug_when>
    <thetext>Test case: &lt;http://nypop.com/~ap/webkit/submit-empty.html&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62065</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-11-23 01:57:56 -0800</bug_when>
    <thetext>I have lost my reduction, and cannot re-create it, even with original 10.4.10 WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114418</commentid>
    <comment_count>4</comment_count>
    <who name="crisp">crisp</who>
    <bug_when>2009-03-19 17:37:42 -0700</bug_when>
    <thetext>This still seems to be an issue since we received a simular bugreport for our site where we used action=&quot;&quot; in combination with a &lt;base href&gt; pointing to the root of our site.

According to HTML5 (and in line with other browser&apos;s behaviour) the empty string for the action attribute should be treated as a same-document reference ( http://www.w3.org/TR/html5/forms.html#form-submission-algorithm ). Webkit apparently still fails to do so and uses the base url in such case.

At least these bugs seem to be duplicates/related:

https://bugs.webkit.org/show_bug.cgi?id=18166
https://bugs.webkit.org/show_bug.cgi?id=20378

Imo this bug should be upped as a (future) spec-violation and an interoperability issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114461</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-20 01:41:02 -0700</bug_when>
    <thetext>Can you still reproduce the problem with Safari 4 beta?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114462</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2009-03-20 01:47:50 -0700</bug_when>
    <thetext>This should have been fixed in bug 19884, please feel free to re-open if you can still reproduce this with Safari 4 beta.

*** This bug has been marked as a duplicate of 19884 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>