Someone reported (thanks!) that a download link for a torrent was not working properly (torrent: link).
I already suspected at first that there might be a strange character in there, but all characters work fine on Windows and are accepted as valid (including the semicolon). After a bit of checking it turns out the problematic browser is IE7. It cuts the filename at the semicolon. After checking the code again I understand why it could possibly, remotely, happen granted that the developers for IE7 are a bunch of tards and are keen on ignoring common sense and anything that requires brain cells.
filename=\"" . $torrent["filename"] . "\"");
Apparently the semicolon is used to separate multiple arguments in content headers, but this should obviously not be the case when it occurs in a “string”.
Google confirms this issue, though I was surprised at how little results popped up. (source: link, click “Horrors with Internet Explorer 7 [modified]”)
but then the problem comes with “;” (semicolon) in filename. If we have a filename like “IE 7 Browser; Cruel Browser.jpg”, the content disposition dialogue shows as
I can not tell you how overjoyed I am to find bugs like this Internet Explorer 7, really.
If anyone has IE8 can you try and see if they’ve fixed it yet? (I’ve fixed it for BoxTorrents already so you’ll need to look elsewhere).