500 error when I try to create a username with more than 150 chars
CLOSED - DUPLICATE
Steps to reproduce:
http POST :8000/api/v3/users/ username='abcaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' password='ok'
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.
Please register to edit this issue