Internet Explorer fails to handle file names which are longer than approximately 150 characters.
Actual behavior may differ from version to version:
- In IE6 or earlier download may fail (see http://support.microsoft.com/default.aspx?kbid=816868\).
- IE7 takes 160 rightmost bytes from the file name before decoding it.
This does not work too good for file names containing non-Latin characters
because it may cut through the middle of the encoded character.
The patch truncates encoded file name down to 150 bytes.