You need to
before you can comment on or make changes to this bug.
It would seem, according to rfc3986, §4.4, that an empty URI action for a html form, such as
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).
This may or may not be related to Bug 6958.
Test case: <http://nypop.com/~ap/webkit/submit-empty.html>.
I have lost my reduction, and cannot re-create it, even with original 10.4.10 WebKit.
This still seems to be an issue since we received a simular bugreport for our site where we used action="" in combination with a <base href> pointing to the root of our site.
According to HTML5 (and in line with other browser'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:
Imo this bug should be upped as a (future) spec-violation and an interoperability issue.
Can you still reproduce the problem with Safari 4 beta?
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 ***