Message374307
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, {'boundary': b'BgTzK0jM20UH01naJdsmAWUj7sqqeoikGZvh3mo9', 'CONTENT-LENGTH': 3992}))
This affects for instance Twisted, and all its dependencies. |
|
Date |
User |
Action |
Args |
2020-07-26 09:58:24 | Magnus Johnsson | set | recipients:
+ Magnus Johnsson |
2020-07-26 09:58:23 | Magnus Johnsson | set | messageid: <1595757503.98.0.375306375596.issue41398@roundup.psfhosted.org> |
2020-07-26 09:58:23 | Magnus Johnsson | link | issue41398 messages |
2020-07-26 09:58:23 | Magnus Johnsson | create | |
|