diff options
author | Ali Sabil <[email protected]> | 2012-04-08 11:51:51 +0200 |
---|---|---|
committer | Ali Sabil <[email protected]> | 2012-04-08 11:51:51 +0200 |
commit | 4b43d063843891153be8f6caebaa2ad5aba8d04d (patch) | |
tree | f9ff9b0b4ce9c9defc8d5c8ac426eaff2c6afc8e /src/cowboy_requests_sup.erl | |
parent | 85ed79eb59cf2587b3c13558101eb1d78c95cfa6 (diff) | |
download | cowboy-4b43d063843891153be8f6caebaa2ad5aba8d04d.tar.gz cowboy-4b43d063843891153be8f6caebaa2ad5aba8d04d.tar.bz2 cowboy-4b43d063843891153be8f6caebaa2ad5aba8d04d.zip |
Make charsets parsing more relaxed
Certain user agents send invalid Accept-Charset headers, like the
following: "ISO-8859-1;utf-8;q=0.7,*;q=0.7"
The user agent with which this behavior was observed presented itself
with the User-Agent string: "Mozilla/5.0 (Windows; U; Windows NT 5.1;
en-US; rv:1.9) Gecko/2008052906 Firefox/3.0" Although this doesn't
appear to be correct. The request might have been mangled by a
transparent proxy.
Diffstat (limited to 'src/cowboy_requests_sup.erl')
0 files changed, 0 insertions, 0 deletions