1 It seems as if windows clients (IE) submit filenames with backslash as directory separator.
4 But the attachment plugin translates these backslashes to underscore, making the
7 > As far as I can see, that just means that the file will be saved with
8 > a filename something like `c:__92__My_Documents__92__somefile`.
9 > I don't see any "does not work" here. Error message?
11 > Still, I don't mind adding a special case, though obviously not in
12 > `basename`. [[done]] --[[Joey]]
14 This little hack fixed the backslash problem, although I wonder if that
15 really is the problem?
16 (Everything works perfectly from linux clients of course. :-)
26 Should probably be `$file=~s!.*[/\\]+!!` :-)