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

Issue #3916 - Fix whitespace between boundary and part headers #5102

Merged
merged 2 commits into from Jul 30, 2020

Conversation

joakime
Copy link
Contributor

@joakime joakime commented Jul 30, 2020

Signed-off-by: Joakim Erdfelt joakim.erdfelt@gmail.com

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime joakime added Bug For general bugs on Jetty side Specification For all industry Specifications (IETF / Servlet / etc) labels Jul 30, 2020
@joakime joakime self-assigned this Jul 30, 2020
@joakime joakime added this to In progress in Jetty 9.4.32 via automation Jul 30, 2020
@joakime joakime linked an issue Jul 30, 2020 that may be closed by this pull request
@joakime joakime moved this from In progress to Review in progress in Jetty 9.4.32 Jul 30, 2020
out.write(("Content-Type: " + contentType).getBytes(StandardCharsets.ISO_8859_1));
out.write(__CRLF);
out.write(__CRLF);
out.write(CRLF);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the heart of the issue. (an extra CRLF)

out.write(("Content-Type: " + contentType).getBytes(StandardCharsets.ISO_8859_1));
out.write(__CRLF);
out.write(CRLF);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the heart of the issue. (an extra CRLF)

@joakime joakime marked this pull request as draft July 30, 2020 14:19
@joakime
Copy link
Contributor Author

joakime commented Jul 30, 2020

I need to add some test cases for this.

+ Updating existing testcase

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime joakime marked this pull request as ready for review July 30, 2020 14:26
Jetty 9.4.32 automation moved this from Review in progress to Reviewer approved Jul 30, 2020
@joakime joakime merged commit 8b52d7d into jetty-9.4.x Jul 30, 2020
Jetty 9.4.32 automation moved this from Reviewer approved to Done Jul 30, 2020
@joakime joakime deleted the jetty-9.4.x-3916-multipart-output-boundary branch July 30, 2020 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side Specification For all industry Specifications (IETF / Servlet / etc)
Projects
No open projects
Jetty 9.4.32
  
Done
Development

Successfully merging this pull request may close these issues.

multipart/byterange output is invalid to RFC7233
2 participants