bug in file download link?
Sylvain Thénault <sylvain.thenault-yG1kfhx/[email protected]> Fri, 16 Jun 2006 11:35:57 +0200
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I've hitted a bug into Archetypes/utils.py contentDispositionHeader function leading to bad download file name when this one contains non ascii char, but I've been very surprised since no one fixed that while the fix is so obvious. So I asked myself what's the trap... Actually without this fix this function is missing all its job imo (though even with it download name are not always understood by every browser). I've attached the patch, if no one quickly tell me "hey that was intentional because...", I'll check it in next week. Cheers, -- Sylvain Thénault LOGILAB, Paris (France) Formations Python, Zope, Plone, Debian: http://www.logilab.fr/formations Développement logiciel sur mesure: http://www.logilab.fr/services Python et calcul scientifique: http://www.logilab.fr/science