See this one: http://www.w3.org/TR/html4/interact/forms.html#adef-action

'User agent behavior for a value other than an HTTP URI is undefined.'


Ádám

On Thu, Mar 27, 2008 at 2:09 AM, Steve Clay <[EMAIL PROTECTED]> wrote:
> Joó Ádám wrote:
>  > an empty path is a relative path, and an empty relative path means that the
>  > requested URL will be the current one minus the part after the last slash.
>
>  Then the browser is broken. The empty string is a valid relative URI,
>  and indicates no change from the base URI. Just like
>  <a href="">reload current URL</a>.
>
>  http://www.w3.org/TR/html4/struct/links.html#h-12.4.1
>  "By default, the base URI is that of the current document"
>
>  So if the form is at /controller/action then an empty action attribute
>  should not cause submission to /controller/ .
>
>  It's possible that your server is setting the base URI via some extra
>  header. E.g. when you use Apache's MultiViews, the "Content-Location"
>  header is sent with the full filename, regardless that you requested the
>  file w/o extension.
>
>  --
>  Steve Clay
>  http://mrclay.org/
>

Reply via email to