W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2011

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 27 Apr 2011 22:36:05 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QFDL3-00089S-7T@jessica.w3.org>

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |Simetrical+w3cbug@gmail.com

--- Comment #3 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2011-04-27 22:36:03 UTC ---
For legacy compatibility, an empty action is processed in an unexpected way:

"If action is the empty string, let action be the document's address of the
form document."

It ignores <base>.  As such, it's better if authors avoid it and use an
equivalent URL like "#" instead, so that it behaves the same as other URLs.  I
assume this is the reason it's invalid.

("_self" will not work at all -- it will submit to the current URL with the
last part of the path replaced by the string "_self".  "?" will also submit to
a different URL than the current one, namely the current URL with the character
"?" appended, even though this usually will make no difference to the resulting
resulting.  "#" will submit to the current URL exactly, with base processing.)

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 Wednesday, 27 April 2011 22:36:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:46 UTC