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

Update Jetty 10 to use non-LEGACY Compliance Modes #3009

Closed
joakime opened this issue Oct 22, 2018 · 5 comments
Closed

Update Jetty 10 to use non-LEGACY Compliance Modes #3009

joakime opened this issue Oct 22, 2018 · 5 comments
Assignees
Milestone

Comments

@joakime
Copy link
Contributor

joakime commented Oct 22, 2018

Historically, in Jetty 9.x we used LEGACY as the default operational mode for the various Compliance modes.

Starting in Jetty 10.x we should default to the current spec RFC.

This will impact Jetty code using ...

  • org.eclipse.jetty.http.HttpCompliance
  • org.eclipse.jetty.server.MultiPartFormDataCompliance
  • org.eclipse.jetty.http.CookieCompliance
@joakime
Copy link
Contributor Author

joakime commented Oct 22, 2018

Proposed new default usage:

  • org.eclipse.jetty.http.HttpCompliance.RFC7230
  • org.eclipse.jetty.server.MultiPartFormDataCompliance.RFC7578
  • org.eclipse.jetty.http.CookieCompliance.RFC6265

@joakime
Copy link
Contributor Author

joakime commented Oct 22, 2018

PR #3015 opened

joakime added a commit that referenced this issue Oct 22, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Oct 22, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Oct 22, 2018
…Y-modes

Issue #3009 - Defaulting to non-LEGACY compliance modes
sbordet pushed a commit that referenced this issue Oct 23, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
sbordet pushed a commit that referenced this issue Oct 23, 2018
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime
Copy link
Contributor Author

joakime commented Nov 5, 2018

Closing, completed in commit e908df9

@joakime joakime closed this as completed Nov 5, 2018
@smitagarg1
Copy link

smitagarg1 commented Apr 25, 2023

API requests are failing with 403 AWS Signature Mismatch error post Jetty 10.0.12 upgrade .Setting HttpCompliance.LEGACY used to solve this error as shown below

gaul/s3proxy@2e61c38

But now it fails in Jetty 10 again
This is because the content type that we are sending "Content-Type: application/x-www-form-urlencoded; charset=utf-8" is converted in to uppercase "application/x-www-form-urlencoded; charset=UTF-8" .

What exactly should be used to resolve this error in Jetty 10 ? org.eclipse.jetty.http.HttpCompliance.RFC7230 doesn't seem to help here

@joakime
Copy link
Contributor Author

joakime commented Apr 25, 2023

@smitagarg1 I opened Issue #9674 to track this new concern

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants