Skip to content

Replace cgi-legacy with multipart package#492

Open
defnull wants to merge 1 commit into
Pylons:mainfrom
defnull:cgi-deprecation
Open

Replace cgi-legacy with multipart package#492
defnull wants to merge 1 commit into
Pylons:mainfrom
defnull:cgi-deprecation

Conversation

@defnull

@defnull defnull commented Jul 19, 2026

Copy link
Copy Markdown

This is based on #466 from @luhn

The cgi stdlib module was never a good parser for multipart/form-data and had many problems, some of which have serious security implications. The legacy-cgi package inherits all those problems. The import name conflict between multipart and python-multipart projects is resolved since 2024, there is no need to vendor it. maybe it's time to switch to a an actively maintained multipart parsing library?

Based on work from Theron Luhn <theron@luhn.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants