Actions
Issue #2976
closed500 error when I try to create a username with more than 150 chars
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix
Sprint:
Quarter:
Description
Steps to reproduce:
http POST :8000/api/v3/users/ username='abcaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' password='ok'
Result:
HTTP/1.0 500 Internal Server Error
Content-Length: 22193
Content-Type: text/plain
Date: Mon, 14 Aug 2017 21:12:18 GMT
Server: WSGIServer/0.2 CPython/3.5.3
Vary: Cookie
X-Frame-Options: SAMEORIGIN
DataError at /api/v3/users/
value too long for type character varying(150)
...
We should probably check other text fields as well like repo name.
Related issues
Actions