Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed multipart form handling issue (#5602) #5603

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

rohitkumarankam
Copy link
Contributor

@rohitkumarankam rohitkumarankam commented Jan 10, 2024

Fixed issue #5602

modified the regex to find if there are any file field and multipart/mixed specific attributes like filename and boundary
based on spec

new regex:

(?si)(Content-Disposition:[^\n]+\s+name=\"(?P<name>[^\"]+)\"(?:[^f|^b]|f(?!ilename=)|b(?!oundary=))*?)((%s)--)

indented code following PEP8 to make it more readable

@stamparm stamparm merged commit 9c1879b into sqlmapproject:master Feb 8, 2024
9 checks passed
MirMohammadd pushed a commit to MirMohammadd/sqlmap that referenced this pull request May 4, 2024
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