• @Omgarm
    link
    2729 days ago

    The type of error where you have to give up trying to understand the user.

    • @[email protected]
      link
      fedilink
      3729 days ago

      It’s quite simple actually: The user wanted to delete their account, but forgot their password so they requested a password reset. Before the password reset email was delivered, the user remembered their password and deleted their account. The password reset email is finally delivered and apparently some email clients open all the links in the background for whatever reason, so it wasn’t actually the user who clicked the password reset link.

      • @[email protected]
        link
        fedilink
        2129 days ago

        apparently some email clients open all the links in the background for whatever reason

        What? Really??

        • TedvdB
          link
          fedilink
          3529 days ago

          Yes, e.g. outlook replaces links in mails so they can scan the site first. Also some virusscanners offer nail protection, checking the site that’s linked to first, before allowing the mail to end up in the user’s mail client.

          Thats why you never take actions on a GET request, but require a form with button for the user to do a POST.

          • TrumpetX
            link
            fedilink
            English
            1129 days ago

            It can be worse, we had to add a captcha for those link scanners cause they’d submit the forms and invalidate tokens too:(

            • @jaybone
              link
              429 days ago

              Wow. That sounds terrible. Good to know.

          • @[email protected]
            link
            fedilink
            229 days ago

            e.g. outlook replaces links in mails so they can scan the site first. Also some virusscanners offer nail protection, checking the site that’s linked to first, before allowing the mail to end up in the user’s mail client.

            Proofpoint does this too, but AFAIK they all just change the link rather than go to it. The link is checked when the user actually clicks on it. Makes sense to do it on-demand because the contents of the link can change between when the email is received and when the user actually clicks it.

        • @[email protected]
          link
          fedilink
          19
          edit-2
          29 days ago

          Yep. Apparently outlook does this and afaik because some kind of link sniffing/scam detection/whatever, but it does it by changing the first characters of each query argument around.

          We spent amazingly long time figuring that one out. “Who the hell has gotten Microsoft service querying our app with malformed query args and why”