Summary: | Empty action URIs in Forms redirect towards site root and not same document | ||
---|---|---|---|
Product: | WebKit | Reporter: | Olivier Le Floch <alakazam> |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | ap, crisp, ian |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
Description
Olivier Le Floch
2006-03-14 05:10:18 PST
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: 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. Can you still reproduce the problem with Safari 4 beta? |