[issue28945] get_boundary (and get_filename) invokes unquote twice

2017-01-02 Thread bpoaugust
bpoaugust added the comment: The patch is incomplete. There is another unquote call: 336 return unquote(text) -- ___ Python tracker ___

[issue28945] get_boundary (and get_filename) invokes unquote twice

2016-12-29 Thread bpoaugust
bpoaugust added the comment: This is actually a bug in collapse_rfc2231_value: issue29020 -- ___ Python tracker ___ ___ Python-bugs-li

[issue28945] get_boundary (and get_filename) invokes unquote twice

2016-12-22 Thread bpoaugust
bpoaugust added the comment: Note: it's easy to create test e-mails with attachments using mutt. echo test | mutt -s "test" -a files... -- user@domain I did some testing with the following names: <> >< "" "" <"abc"> >abc< ">abc<" >"abc"< There are no doubt other awkward names one can devise;

[issue28945] get_boundary (and get_filename) invokes unquote twice

2016-12-22 Thread bpoaugust
bpoaugust added the comment: I have just discovered the same problem with get_filename. Not surprising as its code is basically the same as get_boundary. Unix paths can contain anything, so it's not correct to remove special characters. [It's up to the receiving file system to decide how to dea