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

[UNDERTOW-2216] fix resource serving via predicates + test #1465

Merged
merged 1 commit into from Jun 6, 2023

Conversation

baranowb
Copy link
Contributor

@baranowb baranowb commented Apr 13, 2023

@@ -90,7 +94,7 @@ public static boolean sendRequestedBlobs(HttpServerExchange exchange) {
return false;
}

public static StringBuilder renderDirectoryListing(String path, Resource resource) {
public static StringBuilder renderDirectoryListing(final HttpServerExchange exchange, String path, final Resource resource) {
Copy link
Member

Choose a reason for hiding this comment

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

@baranowb can the original method be deprecated with an attribute marking it for removal on 2.4.0.Final?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@fl4via yes, however, the question is this fix required, given that more or less this can be achieved with some URL rewriting?

@fl4via fl4via added bug fix Contains bug fix(es) next release This PR will be merged before next release or has already been merged (for payload double check) labels Apr 23, 2023
@fl4via fl4via merged commit ea8a83c into undertow-io:master Jun 6, 2023
24 of 25 checks passed
@fl4via fl4via removed the next release This PR will be merged before next release or has already been merged (for payload double check) label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Contains bug fix(es)
Projects
None yet
2 participants