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 NotFound if requested attachment does not exist #20886

Merged
merged 6 commits into from
Aug 24, 2022

Commits on Aug 21, 2022

  1. Return 404 NotFound if requested attachment does not exist

    Add code to test if GetAttachmentByID returns an ErrAttachmentNotExist error
    and return NotFound instead of InternalServerError
    
    Fix go-gitea#20884
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    a4f4b78 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. Configuration menu
    Copy the full SHA
    90babdc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fa8bd01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f864cd4 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2022

  1. Configuration menu
    Copy the full SHA
    33d7bff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee37f45 View commit details
    Browse the repository at this point in the history