Skip to content

Workaround for Outlook previewing login links and expire them prematurely #4535

@frjo

Description

@frjo

MS Outlook mail system does a preview of links in all e-mails. This works badly with our login links since they can only be used once for security reasons.

When outlook access the link Hypha expire it and when the user clicks the link it will no longer work.

Having Cloudflare (or another filtering proxy) in front of Hypha can block these attempts. Likely this is the reason OTF has not noticed this issue.

52.167.144.233 - - [07/May/2025:08:57:03 +0000] "GET /this/is/the/link/path HTTP/2.0" 404 527 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; MicrosoftPreview/2.0; +https://aka.ms/MicrosoftPreview) Chrome/100.0.4896.127 Safari/537.36"

I assume other does this previewing as well, Gmail? Yahoo?.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementThis is an improvement of an existing thing (not a new thing, which would be a feature).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions