Opened 7 years ago
Closed 4 years ago
#17083 closed enhancement (fixed)
[patch] [cla] dojo._ioSetArgs() should use document.URL if form action is not provided
Reported by: | Thomas Bachem | Owned by: | dylan |
---|---|---|---|
Priority: | undecided | Milestone: | 1.11 |
Component: | IO | Version: | 1.8.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
A <form>
element without an action
attribute defined submits to the document.URL's location by default. All major browsers do this since I can think, and it is now also defined in the HTML5 spec:
"The action IDL attribute must reflect the content attribute of the same name, except that on getting, when the content attribute is missing or its value is the empty string, the document's address must be returned instead." (http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-fs-action)
So we should improve dojo/xhr, specifically dojo._ioSetArgs()
, to handle an empty action
attribute accordingly when using the form
property with dojo/xhr.
Attachments (1)
Change History (6)
Changed 7 years ago by
Attachment: | DojoXhrFormWithoutActionAttr.patch added |
---|
comment:1 Changed 7 years ago by
Component: | General → IO |
---|---|
Owner: | set to Bryan Forbes |
comment:2 Changed 6 years ago by
comment:4 Changed 4 years ago by
Milestone: | tbd → 1.11 |
---|---|
Owner: | changed from Bryan Forbes to dylan |
Status: | new → assigned |
comment:5 Changed 4 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In 879ebdfc8c13df1758bcecc053d77394a2582768/dojox: