[Webkit-unassigned] [Bug 17042] New: <form> tags used without action attribute but with a <base> tag
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 27 23:06:47 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17042
Summary: <form> tags used without action attribute but with a
<base> tag
Product: WebKit
Version: 523.x (Safari 3)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rsesek at bluestatic.org
When a HTML document has <base> tag, all relative URIs should be resolved in
regards to that (as per the W3 spec on the matter:
http://www.w3.org/TR/html401/struct/links.html#h-12.4). However, the handling
of <form> elements without an "action" attribute is incorrect (when using
Firefox and the HTML spec as references).
If you were to use a <form> tag without an action attribute alongside a <base>
tag, then the form will submit to *only* to the href of the <base> tag.
Normally, when a <form> tag does not have an action attribute and a <base> tag
is not present, the form submits to the originating page.
Thus, the logical behavior should be as follows: when a <form> tag does not
have an action attribute and a <base> tag is present, then the form should
submit to the href of the <base> tag concatenated by the originating page.
Example:
Base Tag: http://example.com/base/
Originating page: foo.php
Current implementation would submit to: http://example.com/base/
Fixing this bug would result in submitting to: http://example.com/base/foo.php
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list