#32163: Admin change password is not handled gracefully (error 500)
-----------------------------------------+---------------------------------
               Reporter:  rsommerard     |          Owner:  nobody
                   Type:  Bug            |         Status:  new
              Component:  contrib.admin  |        Version:  3.1
               Severity:  Normal         |       Keywords:  admin, password
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+---------------------------------
 Change the password via the admin form for a user and enter a password
 like `qwerty123**`, the server return a not handled gracefully error 500.
 With DEBUG=True, we can have more details:

 error at /admin/users/user/27/password/

 multiple repeat at position 10

 Request Method:         POST
 Request URL:    http://localhost:8000/admin/users/user/27/password/
 Django Version:         3.0.7
 Exception Type:         error
 Exception Value:

 multiple repeat at position 10

 Exception Location:     /usr/lib/python3.8/sre_parse.py in _parse, line
 671
 Python Executable:      /home/dave/.virtualenvs/my-project/bin/python
 Python Version:         3.8.5
 Python Path:

 ['/home/dave/my-project',
  '/home/dave/my-project/django',
  '/usr/lib/python38.zip',
  '/usr/lib/python3.8',
  '/usr/lib/python3.8/lib-dynload',
  '/home/dave/.virtualenvs/my-project/lib/python3.8/site-packages']

 Server time:    Mon, 2 Nov 2020 17:35:25 +0100

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32163>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.1d705f681f6981acd8d9162c18758d8c%40djangoproject.com.

Reply via email to