﻿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
14747	parse error on HTTP_IF_MODIFIED_SINCE header	shaohua	nobody	"Some mobile browsers send localized time in 'HTTP_IF_MODIFIED_SINCE' like: '???, 21 ?? 2010 05:55:07 GMT', which can not be correctly parsed and cause exceptions:

 File ""/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py"", line 100, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File ""/usr/local/lib/python2.6/dist-packages/django/views/static.py"", line 61, in serve
   statobj[stat.ST_MTIME], statobj[stat.ST_SIZE]):

 File ""/usr/local/lib/python2.6/dist-packages/django/views/static.py"", line 129, in was_modified_since
   header_mtime = mktime_tz(parsedate_tz(matches.group(1)))

 File ""/usr/lib/python2.6/email/_parseaddr.py"", line 142, in mktime_tz
   if data[9] is None:

TypeError: 'NoneType' object is unsubscriptable
"		new	Core (Other)	1.2					Unreviewed	0	0	0	0	0	0
