6
  • Orion fails to notify on refreshing/reloading a page that will send a POST request

  • BugsDesktopDone

Steps to reproduce:

  1. Visit a page that makes a POST request (think of anything using forms for login as an example).
  2. On a page that is reached by making a POST request, hit reload in the URL bar

Example site - go to https://dlptest.com/http-post/, put some text in the box, hit submit. Notice a green banner. Now hit "refresh" when this shows, and Safari will prompt you with the dialog seen below. Orion won't.

Expected behavior:
Expected - Orion prompts you as to whether you really want to refresh, since this may send a request again and do something twice etc (see image below)

Current - Orion does not show a prompt, and makes the POST request again to the server. This could (but shouldn't) result in users buying things twice in checkout flows or similar.

Image/Video:
Expected behaviour in Safari and other browsers:

    2 years later

    Refreshing a page that performed a POST request performs the POST submission again, unless the response causes an Orion error page to display (e.g. a 'Request timed out' error).

    Refreshing should be consistent regardless of whether the response was invalid, so even if an error occurs refreshing should submit the POST request as it would if the response was valid.

    Version 0.99.126.4.1-beta (WebKit 618.1.2)

    Sonoma (14)

    • Vlad replied to this.

      adamaveray Simple steps to reproduce and comaprison with Safari?

        Merged 3 posts from Refreshing POST request after timed out response performs a GET request.
          5 days later

          Confirmed this is fixed in upcoming RC (0.99.126.4.1.1-rc)

          3 months later
          No one is typing