I am using Django REST-Auth for user registration. All works fine except for the fact that the password reset link contains "%20" and "%0A" html codes which yield the token not usable without manually adjusting it before POST. Sample link from the email received:
http://127.0.0.1:8000/password-reset/confirm/MTY0MjM0MGMtNGEyMi00ZmY5LWE3YzgtNDdiOGM2M2ViYzIy/%20%0A%20%20%20%20%20%20%20%205d9-2e76cc7a3bc99cf6f1ed/
I've tried overriding the PasswordResetSerializer etc. but nothing so far has helped to resolve the issue. Package versions as follows.
Django 3.0.2
django-rest-auth 0.9.5
djangorestframework 3.11.0
Anyone know where this is coming from and how to fix it?