Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problematic apps/account/urls.py #6

Open
alexakarpov opened this issue Jan 24, 2022 · 0 comments
Open

problematic apps/account/urls.py #6

alexakarpov opened this issue Jan 24, 2022 · 0 comments

Comments

@alexakarpov
Copy link

The problem is with this line:

path("activate/slug:uidb64/slug:token)/", views.account_activate, name="activate")

The problem is not obvious with console email emulator, if you copy and use the link as is. But the url ending in characters which are not url-safe (specifically ')/' is manifest when sending an actual email - the url in the email text will be displayed in full, but the browser will cut the unsafe characters from the link, and thus the link will always be broken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant