Skip to content

Email stage links incorrectly encoded #7377

@awr

Description

@awr

Describe the bug
Links sent in emails are getting doubly encoded.

For example:
http://localhost:9000/if/flow/signup/?query=&flow_token=W2kRqeEmVIdh0h...

The issue is the & between querystring parameters.

To Reproduce
Steps to reproduce the behavior:

I'm seeing these on all signup flows and reset password flows where an email is triggered.

Expected behavior
I'd expect the above to instead be
http://localhost:9000/if/flow/signup/?query=&flow_token=W2kRqeEmVIdh0h...

Version and Deployment (please complete the following information):

  • authentik version: 2023.10.2
  • Deployment: only tested so far in docker-compose

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions