-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Form content length falsify #3329
base: main
Are you sure you want to change the base?
Form content length falsify #3329
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test
@@ -125,6 +125,7 @@ static HttpServletRequest getRequestWithBodyFromRequestParameters(HttpServletReq | |||
Map.Entry<String, String[]> entry = entryIterator.next(); | |||
String name = entry.getKey(); | |||
List<String> values = Arrays.asList(entry.getValue()); | |||
boolean wrote = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change name to valueWritten
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
added |
when disable RemoveContentLengthFilter and post form data , the form filter code chunk where contact data string exist a litter bug
i write a test case to prove the sceniaro