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

Replace SameFileAliasChecker #6497

Closed
joakime opened this issue Jul 7, 2021 · 6 comments · Fixed by #6681
Closed

Replace SameFileAliasChecker #6497

joakime opened this issue Jul 7, 2021 · 6 comments · Fixed by #6681

Comments

@joakime
Copy link
Contributor

joakime commented Jul 7, 2021

Target Jetty version(s)
9.4.x+

Enhancement Description
The current SameFileAliasChecker is almost a no-op based on changes before it is called.

We should address the 2 common usages.

  1. Case Insensitive aliases - for windows requests (ala /index.html vs /INDEX.HTML)
  2. FileSystem Normalization - for OSX and ZFS based filessytems that treat UTF-8 encoding differently on request vs storage.
@lachlan-roberts
Copy link
Contributor

The documentation should be also updated to explain why you should not use SameFileAliasChecker or ApproveAliases unless you are sure of what you are doing.

@lachlan-roberts lachlan-roberts self-assigned this Jul 9, 2021
lachlan-roberts added a commit that referenced this issue Jul 9, 2021
…meFileAliasChecker

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 13, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 13, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 13, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 13, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 23, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 27, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 30, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 30, 2021
… not exist

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Jul 30, 2021
…aliases

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Aug 26, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Aug 26, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
gregw added a commit that referenced this issue Aug 30, 2021
Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw added a commit that referenced this issue Aug 30, 2021
Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw added a commit that referenced this issue Aug 30, 2021
Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw added a commit that referenced this issue Aug 30, 2021
Signed-off-by: Greg Wilkins <gregw@webtide.com>
gregw added a commit that referenced this issue Aug 30, 2021
Signed-off-by: Greg Wilkins <gregw@webtide.com>
@gregw gregw linked a pull request Aug 31, 2021 that will close this issue
gregw added a commit that referenced this issue Sep 21, 2021
* Issue #6497 - Replace the Alias checkers with new implementation.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts
Copy link
Contributor

I think this needs to be done in 9.4 as well.

@lachlan-roberts lachlan-roberts added this to To do in Jetty 9.4.44 FROZEN via automation Sep 21, 2021
@lachlan-roberts lachlan-roberts added this to To do in Jetty 10.0.7/11.0.7 FROZEN via automation Sep 21, 2021
@joakime
Copy link
Contributor Author

joakime commented Sep 22, 2021

This is fully merged in 9.4.x and 10.0.x onwards

@joakime joakime closed this as completed Sep 22, 2021
Jetty 9.4.44 FROZEN automation moved this from To do to Done Sep 22, 2021
@lachlan-roberts
Copy link
Contributor

Has not been ported to 9.4.x yet.

Jetty 9.4.44 FROZEN automation moved this from Done to In progress Sep 22, 2021
Jetty 10.0.7/11.0.7 FROZEN automation moved this from Done to In progress Sep 22, 2021
@lachlan-roberts lachlan-roberts moved this from In progress to Done in Jetty 10.0.7/11.0.7 FROZEN Sep 22, 2021
@lachlan-roberts lachlan-roberts removed this from In progress in Jetty 9.4.44 FROZEN Sep 22, 2021
@lachlan-roberts lachlan-roberts added this to To do in Jetty 9.4.45 - FROZEN via automation Sep 22, 2021
@joakime
Copy link
Contributor Author

joakime commented Sep 22, 2021

Has not been ported to 9.4.x yet.

Then what was PR #6540 for?

@lachlan-roberts
Copy link
Contributor

That was the original PR that was for 9.4.x, however it was not merged and was closed. We instead developed a fix for the 10.0.x/11.0.x branches (#6681) and the plan was to port a minimal fix back to 9.4.x.

lachlan-roberts added a commit that referenced this issue Oct 12, 2021
* Issue #6497 - Replace the Alias checkers with new implementation.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Oct 12, 2021
… uri

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Oct 12, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Oct 15, 2021
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
lachlan-roberts added a commit that referenced this issue Oct 17, 2021
…nings

Issue #6497 - add warnings for alias checker deprecations
Jetty 9.4.45 - FROZEN automation moved this from To do to Done Oct 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2 participants