I committed the following into Pike 7.7 (a while ago):
commit 82aa5e869000af0adc61ee62294f3121717ec58d
Author: Stephen R. van den Berg <<srb[at]cuci.nl>>
Date: Sun Sep 9 22:41:36 2007 +0000
Microsoft Internet Explorer violates the standards (how unexpected) in
filling the filename parameter in a Content-Disposition field. It forgets
to double the backslashes in there, where are therefore parsed away
normally. This kludge tries to detect the typical DOS/Windows paths
with undoubled backslashes in them and doubles them prior to handling.
Tested on Roxen.
Which fixes the following problem someone (apparently) tries to fix in Roxen:
commit 9f0a78a228bf3bff69d2ef939eb6b3e8be909e70
Author: mathias <mathias>
Date: Wed Aug 13 16:18:02 2008 +0000
Fixed a problem where directory delimiters disappeared from the file
name when uploading files with Internet Explorer.
--
Sincerely,
Stephen R. van den Berg.
"If you make people think they're thinking, they'll love you;
but if you really make them think, they'll hate you."
|