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

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

--- Comment #38 from Julian Reschke <julian.reschke@gmx.de> 2011-12-02 18:10:09 UTC ---
(In reply to comment #37)
> Rationale: Let's cut to the chase here. We can't allow action="" with no value
> because it's too confusingly similar to action=" " with a space which has
> different behaviour. We can't make action="" and formaction="" different
> because that would be ridiculously confusing. For almost all purposes, if you
> want to target the same page you can use target="?" or formaction="?". Sure,
> there might be cases where that isn't quite as convenient as you might like,
> e.g. because you're POSTing to a URL with query parameters. So don't do that.
> Put the data in the POST payload, or in the path, or don't use both action=""
> and formaction="" in such situations.

It appears that each approach has different drawbacks, and that it's far from
clear what the best approach is.

For instance, why does action=" " *need* to have a different behavior?

-- 
Configure bugmail: https://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 Friday, 2 December 2011 18:10:15 UTC