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 panic when editing forked repos by API (#14960) #14963

Merged
merged 1 commit into from
Mar 12, 2021

Commits on Mar 11, 2021

  1. Prevent panic when editing forked repos by API (go-gitea#14960)

    When editing forked repos using the API the BaseRepository needs to loaded
    in order to check its visibility otherwise there will be NPE panic.
    
    Fix go-gitea#14956
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath authored and 6543 committed Mar 11, 2021
    Configuration menu
    Copy the full SHA
    11be803 View commit details
    Browse the repository at this point in the history