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

Return 404 when head the file end with ...; Port [#18602] to branch-2.10 #18603

Merged
merged 1 commit into from
May 10, 2024

Conversation

alluxio-bot
Copy link
Contributor

What changes are proposed in this pull request?

if the request ends with "/" and the object is a file, return 404

Why are the changes needed?

if the user want to get the metadata of a file, it should not end with "/". if the user wants to get the metadata of a dir, then it should end with "/".

Does this PR introduce any user facing changes?

no

[This is an auto-generated PR to cherry-pick committed PR #18602 into target branch branch-2.10]

### What changes are proposed in this pull request?
if the request ends with "/" and the object is a file, return 404

### Why are the changes needed?
if the user want to get the metadata of a file, it should not end with "/". if the user wants to get the metadata of a dir, then it should end with "/".

### Does this PR introduce any user facing changes?
no

			pr-link: #18602
			change-id: cid-beaeba5de7ceb9b7ed0d92ad2a171f3ef8523e9d
@alluxio-bot alluxio-bot added the type-bug This issue is about a bug label May 10, 2024
@Jackson-Wang-7
Copy link
Contributor

alluxio-bot, merge this please

@alluxio-bot alluxio-bot merged commit 7fefc94 into branch-2.10 May 10, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug This issue is about a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants