﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
15067	base36_to_int returns a long in certain situations	Kyle Fleming	nobody	"{{{django.utils.http.base36_to_int}}} uses the {{{int()}}} cast, which returns a {{{long}}} if it can't fit within an {{{int}}}. The input is truncated to 13 characters before calling {{{int()}}}, but if you supply 13 Z's you receive a {{{long}}} instead of an {{{int}}}.

{{{
>>> type(int('zzzzzzzzzzzzz', 36))
<type 'long'>
}}}

This causes an {{{OverflowError}}} with {{{django.contrib.auth.views.password_reset_done}}} if you supply {{{uidb36='zzzzzzzzzzzzz'}}} and {{{token='123'}}}

Note: testing of the {{{password_reset_done}}} was done on version 1.2.3 and testing of {{{base36_to_int}}} was done on 1.2.3 and the trunk."		closed	Core (Other)	1.2		fixed	blocker		Accepted	1	0	0	0	0	0
