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

Handle root as a special file in generic-http repo #2458

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

ruhan1
Copy link
Contributor

@ruhan1 ruhan1 commented Sep 2, 2024

This is for MMENG-4193

The legacy approach of storing files downloaded via Indy generic http proxy was to reuse the path from remote server. However if there was root of the server requested (path = "/"), there seems to be no way to request that file from the generic-http hosted repository.

In this pr, a special handling is added to handle the "/" as filepath.

@sswguo
Copy link
Member

sswguo commented Sep 4, 2024

LGTM.

Copy link
Contributor

@pkocandr pkocandr left a comment

Choose a reason for hiding this comment

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

Looks good as far as I can tell.

@ruhan1
Copy link
Contributor Author

ruhan1 commented Sep 5, 2024

Thank you guys. This fix will be deployed on next Fri.

@ruhan1 ruhan1 merged commit 9d08a46 into Commonjava:master Sep 5, 2024
1 check passed
@ruhan1 ruhan1 deleted the master-genericrootfile branch September 5, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants