aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_handler.erl
diff options
context:
space:
mode:
authorAli Sabil <[email protected]>2012-04-08 11:51:51 +0200
committerAli Sabil <[email protected]>2012-04-08 11:51:51 +0200
commit4b43d063843891153be8f6caebaa2ad5aba8d04d (patch)
treef9ff9b0b4ce9c9defc8d5c8ac426eaff2c6afc8e /src/cowboy_http_handler.erl
parent85ed79eb59cf2587b3c13558101eb1d78c95cfa6 (diff)
downloadcowboy-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_http_handler.erl')
0 files changed, 0 insertions, 0 deletions