1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:54:24 +00: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 Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
markdown format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
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 Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) 2022-01-31 01:48:47 +02:00
renderer_test.go A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
renderer.go Prevent double sanitize (#16386) 2021-11-19 18:46:47 +08:00
sanitizer_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
sanitizer.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00