Skip to content

form + HTTP post doesn't work (or at least doesn't redirect) #9829

Closed

Description

@paulrouget

Affects: github.com (can't log in).

Test case:

<form action="http://localhost:6060/b.html" method="post">
  <input value="click" type="submit">
</form>

Clicking on the button should load b.html. It doesn't.

Activity

  1. paulrouget commented on Mar 1, 2016

    @paulrouget
    ContributorAuthor

    This prevents logging in Github.

  2. paulrouget commented on Mar 1, 2016

    @paulrouget
    ContributorAuthor

    Using GET instead appears to work.
    It also works if I use file:// instead of http://.

  3. KiChjang commented on Mar 1, 2016

    @KiChjang
    Contributor

    This is because submit body for planned navigation hasn't been implemented yet. I think it's dependent on the encoding for multipart/form-data.

    @psdh are you currently working on this? Or is it ok for someone else to work on it?

  4. added
    A-content/dom
    I-enhancement
    on Mar 1, 2016
  5. KiChjang commented on Mar 1, 2016

    @KiChjang
    Contributor

    The relevant PR for encoding is #9198. I can fix the navigation problem after it lands.

  6. self-assigned this
    on Mar 1, 2016
  7. paulrouget commented on Mar 1, 2016

    @paulrouget
    ContributorAuthor

    I can fix the navigation problem after it lands.

    That would be great!

  8. Manishearth commented on Mar 15, 2016

    @Manishearth
    Member

    @KiChjang you implemented planned navigation recently. Is this done, or is there still work left?

    Also, I guess this bug is why github's comment button doesn't work?

  9. jdm commented on Mar 15, 2016

    @jdm
    Member

    See the comment two before yours.

  10. pcwalton commented on Apr 11, 2016

    @pcwalton
    Contributor

    Suspected to be affecting Twitter login as well.

  11. added 8 commits that reference this issue on Apr 25, 2016
    a80c65b
    69c566a
    e5c428f
    d8652e2
    4350dfa
    a945674
    4e1b92f
    1636108
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-content/domI-enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions