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

Commits on May 10, 2024

  1. Return 404 when head the file end with slash

    ### 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
    Jackson-Wang-7 authored and alluxio-bot committed May 10, 2024
    Configuration menu
    Copy the full SHA
    d8655a4 View commit details
    Browse the repository at this point in the history