summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-01-20 15:10:50 +0000
committerGitHub <noreply@github.com>2021-01-20 23:10:50 +0800
commit172229966c9c69305d7b6b9b69552346343fe270 (patch)
tree236fc5892fee943d2dc6bd882b423a5eab46264c /routers
parentb708968694841cb1df6038eaabb880d0fe59a7f4 (diff)
downloadgitea-172229966c9c69305d7b6b9b69552346343fe270.tar.gz
gitea-172229966c9c69305d7b6b9b69552346343fe270.zip
Prevent panic on fuzzer provided string (#14405)
* Prevent panic on fuzzer provided string The fuzzer has found that providing a <body> tag with an attribute to PostProcess causes a panic. This PR removes any rendered html or body tags from the output. Signed-off-by: Andrew Thornton <art27@cantab.net> * Placate lint * placate lint again Signed-off-by: Andrew Thornton <art27@cantab.net> * minor cleanup Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers')
0 files changed, 0 insertions, 0 deletions