-
Notifications
You must be signed in to change notification settings - Fork 594
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
Relax message parsing requirement on CRLF line endings #106
Labels
3 - in progress
Someone is working on this ticket
t:client
Issues related to the HTTP Client
t:server
Issues related to the HTTP server
Milestone
Comments
|
grizio
added a commit
to grizio/akka-http
that referenced
this issue
Nov 24, 2016
grizio
added a commit
to grizio/akka-http
that referenced
this issue
Jan 28, 2017
…s good as CRLF. * Add tests verifying `\n` alongside `\r\n` in all modified parsers * Duplicate specs to test either with `\r\n` and with `\n` (force to test in both cases for future developments)
jrudolph
added a commit
that referenced
this issue
Feb 16, 2017
As mentioned in #106, parsers should also accept LF end of line as good as CRLF.
grizio
added a commit
to grizio/akka-http
that referenced
this issue
Oct 28, 2017
This commit terminates the changes needed to accept LF and CRLF end of lines. The development was done and merged in PR akka#840 for everything except body parsers. This commit do the same thing for body parsers. This commit do the following: * Add tests verifying `\n` alongside `\r\n` in all BodyPartParser * Create a new Specification for `BodyPartParser` * Based on `MultipartUnmarshallers` and `RequestParserSpec` * For both CRLF and LF configuration See akka#106, akka#868
grizio
added a commit
to grizio/akka-http
that referenced
this issue
Feb 24, 2018
This commit terminates the changes needed to accept LF and CRLF end of lines. The development was done and merged in PR akka#840 for everything except body parsers. This commit do the same thing for body parsers. This commit do the following: * Add tests verifying `\n` alongside `\r\n` in all BodyPartParser * Create a new Specification for `BodyPartParser` * Based on `MultipartUnmarshallers` and `RequestParserSpec` * For both CRLF and LF configuration See akka#106, akka#868
raboof
pushed a commit
that referenced
this issue
Apr 24, 2018
This commit terminates the changes needed to accept LF and CRLF end of lines. The development was done and merged in PR #840 for everything except body parsers. This commit do the same thing for body parsers. This commit do the following: * Add tests verifying `\n` alongside `\r\n` in all BodyPartParser * Create a new Specification for `BodyPartParser` * Based on `MultipartUnmarshallers` and `RequestParserSpec` * For both CRLF and LF configuration * Use `MultipartUnmarshallersSpec` instead of rewriting our own * Explicit at design level the issue about eol configuration not already defined See #106, #868
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3 - in progress
Someone is working on this ticket
t:client
Issues related to the HTTP Client
t:server
Issues related to the HTTP server
Tuesday Mar 31, 2015 at 14:46 GMT
Originally opened as akka/akka#17114
RFC 7230 Section 3.5 says:
and
Both points are currently not implemented as such.
Note that any changes here should also be done to the
BodyPartParser
so that MIME parsing also benefits from the more lenient parsing approach.The text was updated successfully, but these errors were encountered: