-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I'm getting HTTP::Accept::ParseError when trying to parse request.env['HTTP_ACCEPT_LANGUAGE']
These are the values of the HTTP_ACCEPT_LANGUAGE header that produce the error and the user agents they come from according to the nginx log. There may be more versions of chrome that send these headers, these two are just the first ones I found for each case. I'm not sure if this is actually a bug in the Languages.parse, I wanted to get more opinions before attempting to submit a PR or patching my own code
en_US
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
en,en_US;q=0.9
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
ioquatix
Metadata
Metadata
Assignees
Labels
No labels