-
Notifications
You must be signed in to change notification settings - Fork 49
Closed
Labels
Description
Both http://searchfox.org/mozilla-central/source/netwerk/base/nsURLHelper.cpp#836 and Chrome source code indicate that the ";(" sequence means something special in MIME types and it looks like parsing is supposed to stop there, due to some legacy MIME type comment feature.
However, when I try something like
HTTP/1.1 200
Content-Length: 55
Content-Type: text/html;test=test;(;charset=gbk
<script>document.write(document.characterSet)</script>
browsers consistently end up not ignoring the charset parameter, so I'm not sure what is going on.