mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1075ff74b5
- Currently the repository description uses the same sanitizer as a normal markdown document. This means that element such as heading and images are allowed and can be abused. - Create a minimal restricted sanitizer for the repository description, which only allows what the postprocessor currently allows, which are links and emojis. - Added unit testing. - Resolves https://codeberg.org/forgejo/forgejo/issues/1202 - Resolves https://codeberg.org/Codeberg/Community/issues/1122 (cherry picked from commit 631c87cc2347f0036a75dcd21e24429bbca28207) Co-authored-by: Gusted <postmaster@gusted.xyz> |
1 year ago | |
---|---|---|
.. | ||
asciicast | 2 years ago | |
common | 2 years ago | |
console | 2 years ago | |
csv | 2 years ago | |
external | 2 years ago | |
markdown | 1 year ago | |
mdstripper | 2 years ago | |
orgmode | 1 year ago | |
camo.go | 2 years ago | |
camo_test.go | 2 years ago | |
html.go | 1 year ago | |
html_internal_test.go | 2 years ago | |
html_test.go | 1 year ago | |
renderer.go | 2 years ago | |
renderer_test.go | 2 years ago | |
sanitizer.go | 1 year ago | |
sanitizer_test.go | 1 year ago |