[issue39040] Wrong filename in when mime header was too long

2019-12-13 Thread Manfred Kaiser
Change by Manfred Kaiser : -- keywords: +patch pull_requests: +17062 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17590 ___ Python tracker ___ _

[issue39040] Wrong filename in when mime header was too long

2019-12-13 Thread Manfred Kaiser
New submission from Manfred Kaiser : I'm working on a mailfilter in python and used the method "get_filename" of the "EmailMessage" class. In some cases a wrong filename was returned. The reason was, that the Content-Disposition Header had a line break and the following intention was interpr