1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 17:14:49 +01:00
gitea/modules/markup
Gusted 72256c16a8
Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472)
* Don't panic & allow shorter sha1

- Don't panic when the full regex isn't matched and allow the usage of a
shorter sha1 being used.
- Resolves #18471

* Update modules/markup/html.go

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-01-31 01:48:47 +02:00
..
common Update Goldmark to Goldmark 1.4.4 (#18420) 2022-01-29 21:17:21 +08:00
csv format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
external
markdown
mdstripper format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
orgmode format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
html_internal_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
html_test.go Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2022-01-31 01:48:47 +02:00
html.go
renderer_test.go
renderer.go
sanitizer_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
sanitizer.go