Skip to content

Conversation

Gusted
Copy link
Contributor

@Gusted Gusted commented Jan 30, 2022

Backport #18472

  • Prevent NPE panic when the full compare url regex isn't matched
  • Allow the usage of a shorter sha1 being used.

Fix #18471

@Gusted Gusted added this to the 1.16.1 milestone Jan 30, 2022
@Gusted Gusted changed the title Don't panic & allow shorter sha1 (#18472) Don't panic & allow shorter sha1 on compare URL (#18472) Jan 30, 2022
Co-authored-by: Andrew Thornton <[email protected]>
@zeripath zeripath changed the title Don't panic & allow shorter sha1 on compare URL (#18472) Prevent NPE on partial match of compare URL and allow short SHA1 compare urls (#18472) Jan 30, 2022
@zeripath zeripath changed the title Prevent NPE on partial match of compare URL and allow short SHA1 compare urls (#18472) Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) Jan 30, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 30, 2022
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 30, 2022
@lafriks lafriks merged commit d5027b6 into go-gitea:release/v1.16 Jan 30, 2022
@Gusted Gusted deleted the backport-fix-markdown-error branch January 31, 2022 18:37
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. outdated/theme/markdown type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants