MantisBT: master-1.2.x 4807ed6d

Author Committer Branch Timestamp Parent
dhx master-1.2.x 2009-07-01 10:14 master-1.2.x 726bf428
Affected Issues  0010494: National characters in filename of attaches
Changeset

Fix 0010494: support UTF-8 attachment filenames

RFC2231 gives us the ability to define a filename in the
Content-Disposition header that is encoded in UTF-8. Unfortuantly older
browsers such as Internet Explorer 7 do not support RFC2231. Therefore
this implementation provides a fallback mechanism that works with most
major browsers.

See http://greenbytes.de/tech/tc2231/ for more information on what
techniques we have available, and why I've patched this using attfnboth2
fallback technique.

mod - file_download.php Diff File