cubicweb #2522325 Content-disposition use the wrong parameter [done]

RFC6266 says

The parameters "filename" and "filename*" differ only in that "filename*" uses the encoding defined in [RFC5987], allowing the use of characters not present in the ISO-8859-1 character set ([ISO-8859-1]).

However the cubicweb code:

  1. use filename all the time. http://hg.logilab.org/cubicweb/file/19e115ae5442/web/request.py#l623
  2. encode it in utf8 all the time. http://hg.logilab.org/cubicweb/file/19e115ae5442/mail.py#l33

According to my reading of RFC6266 this is wrong. We should not put any encoded content in filename and use filename* for this purpose.

This may explains some but on windows with older IE version.

prioritynormal
typebug
done in3.15.6
load0.250
load left0.000
closed by#d74addac92bb [downloadable] fix filename in HTTP header (closes #2522325, #2522324)