[issue41398] cgi module, parse_multipart fails

2020-08-05 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue41398] cgi module, parse_multipart fails

2020-08-03 Thread Guido van Rossum
Guido van Rossum added the comment: Could you submit a PR then? I don't think I've looked at that module in 20 years. -- ___ Python tracker ___ __

[issue41398] cgi module, parse_multipart fails

2020-08-03 Thread Magnus Johnsson
Magnus Johnsson added the comment: No, of course not. The request is completely valid. Python's cgi library parses it wrong. The 'resolution' that needs to be done is to fix it in python's source. That, and the libraries that depend on it, like twisted, probably needs to move away from using

[issue41398] cgi module, parse_multipart fails

2020-08-02 Thread Guido van Rossum
Guido van Rossum added the comment: So per the stackoverflow explanation you shouldn’t do that? Should we close this? -- nosy: +gvanrossum ___ Python tracker ___ _

[issue41398] cgi module, parse_multipart fails

2020-07-27 Thread Magnus Johnsson
Magnus Johnsson added the comment: https://github.com/yohanboniface/falcon-multipart/issues/8 It would seem that the same issue pops up elsewhere. We do indeed set the content-type, as per the default examples for unity. -- ___ Python tracker

[issue41398] cgi module, parse_multipart fails

2020-07-26 Thread SilentGhost
Change by SilentGhost : -- components: +Library (Lib) nosy: +ethan.furman type: -> behavior ___ Python tracker ___ ___ Python-bugs-

[issue41398] cgi module, parse_multipart fails

2020-07-26 Thread Magnus Johnsson
New submission from Magnus Johnsson : When using the cgi module, parse_multipart fails with the supplied file with the error: Invalid boundary in multipart form: b'' A sample program that demonstrates the error: import cgi f = open("60_Request.txt", "r") print(cgi.parse_multipart(f, {'boundar