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

Prevent NPE if gitea uploader fails to open url #18080

Merged
merged 3 commits into from
Dec 23, 2021

Commits on Dec 23, 2021

  1. Prevent NPE if gitea uploader fails to open url

    If http.Get() returns an error return nil and err before attempting to
    use the broken file.
    
    Thanks to walker xiong for spotting this bug.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Dec 23, 2021
    Configuration menu
    Copy the full SHA
    a2ab7fc View commit details
    Browse the repository at this point in the history
  2. Update modules/uri/uri.go

    zeripath authored Dec 23, 2021
    Configuration menu
    Copy the full SHA
    215612d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74f0415 View commit details
    Browse the repository at this point in the history