django-ecommerce-project icon indicating copy to clipboard operation
django-ecommerce-project copied to clipboard

problematic apps/account/urls.py

Open alexakarpov opened this issue 3 years ago • 0 comments

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

alexakarpov avatar Jan 24 '22 19:01 alexakarpov