[Bug 12561] Add the @action in the <form> so that there is a way to submit to the same page

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12561

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ian@hixie.ch
         Resolution|                            |WORKSFORME
         AssignedTo|ian@hixie.ch                |contributor@whatwg.org

--- Comment #15 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-06-21 05:53:54 UTC ---
action="" and formaction="" should be consistent with each other for sanity.

action="" (empty) is not the same as action=" " (single space) for historical
reasons and as this is very confusing, it is made non-conforming to not specify
a non-empty URL.

If you just want to submit to the current page, ignoring base URLs, then you
can just use <form> without an action URL. If you want to submit to the current
page, following the base URL and blowing away any current query parameters,
then use <form action="?">.


EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the tracker issue; or you may create a tracker issue
yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: no spec change
Rationale: The use cases listed are already possible.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 21 June 2011 05:53:56 UTC