Skip to content

Forms with default action wrongly submit to "/" #218

@ionelmc

Description

@ionelmc

Eg, a form like:

<form method="post">....

would get parsed out as a form with "/" as action url but instead the current url should be the action url. as per the html5 spec at https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#form-submission-algorithm

  1. If action is the empty string, let action be the URL of the form document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions