-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I had the following situation occur on Firefox (110.0a1 (2023-01-10)):
- Visit some page protected with basic auth
- Fill in some form on that page
- Restart the browser for some reason (updates, crash, ...)
- Due to session restore, the page is loaded and the form can be completed further, but the basic auth credentials are gone
- Submit the form, get redirected to the mooltipass extension page
- Login
- Notice that something has gone wrong, the form does not appear to be submitted and is empty
- Try to use the back button to get back to the form, notice that the form is no longer filled (which is not how firefox normally operates, forms are restored when you use the back button)
It looks like the basic auth page does not look at the HTTP method at all and assumes that the request is a GET request. Quick fix would be to not intercept the request if the HTTP method is anything but GET. The user will then see the standard basic auth login, but at least not lose their data.
Metadata
Metadata
Assignees
Labels
No labels