﻿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
13944	Very long accept-language headers break parser	Russell Keith-Magee	nobody	"The parse_accept_language_header() function in utils/translation/trans_real.py uses a regular expression to parse accept-language headers. 

This works well with RFC2616 compliant data, but breaks if bad data is passed in -- in particular, a string that exceeds 16 characters in length. This can result in pages not returning from the server.

A particular culprit here appears to be Weave; for some reason, on some configurations, it seems to put path names into the accept-language header. A path will often exceed 16 characters, triggering the problem.

To reproduce: set your accept-language header to: en-nz,en,de,chrome://global/locale/intl.properties

"		closed	*.djangoproject.com	1.2		fixed			Accepted	0	0	0	0	0	0
