forked from gitea/gitea
1
0
Fork 0
gitea/modules/markup
Gusted d5027b6c09
Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) (#18473)
* Don't panic & allow shorter sha1 (#18472)

- Backport of #18472

* Improve comment

Co-authored-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Andrew Thornton <art27@cantab.net>
2022-01-31 01:49:17 +02:00
..
common Remove unneeded debug messages to stdout. (#18298) 2022-01-16 23:42:06 +08:00
csv Properly determine CSV delimiter (#17459) 2021-10-30 23:50:40 +08:00
external Make Requests Processes and create process hierarchy. Associate OpenRepository with context. (#17125) 2021-11-30 20:06:32 +00:00
markdown Simplify parameter types (#18006) 2021-12-20 04:41:31 +00:00
mdstripper A better go code formatter, and now `make fmt` can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
orgmode Prevent panic in Org mode HighlightCodeBlock (#17140) 2021-09-24 14:29:32 +01:00
html.go Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) (#18473) 2022-01-31 01:49:17 +02:00
html_internal_test.go Fix markdown URL parsing (#17924) 2021-12-11 19:21:36 +02:00
html_test.go Prevent NPE on partial match of compare URL and allow short SHA1 compare URLs (#18472) (#18473) 2022-01-31 01:49:17 +02:00
renderer.go Prevent double sanitize (#16386) 2021-11-19 18:46:47 +08: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
sanitizer.go Prevent double sanitize (#16386) 2021-11-19 18:46:47 +08:00
sanitizer_test.go Fix data URI scramble (#16098) 2021-06-07 18:55:26 +02:00