1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
zeripath 172229966c
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>
2021-01-20 23:10:50 +08:00
..
2021-01-15 17:38:41 +08:00
2020-12-02 06:56:04 +02:00
2020-04-05 07:20:50 +01:00
2021-01-06 09:38:00 +08:00
2020-10-02 23:37:53 -04:00
2019-06-12 15:41:28 -04:00
2021-01-06 19:23:57 +00:00
2021-01-06 09:38:00 +08:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2020-10-26 12:42:27 -04:00
2020-10-02 23:37:53 -04:00
2020-10-25 17:19:06 +00:00
2020-08-27 22:47:17 -04:00
2020-04-05 07:20:50 +01:00