]> source.dussan.org Git - gitea.git/commit
Fix data URI scramble (#16098)
authorKN4CK3R <admin@oldschoolhack.me>
Mon, 7 Jun 2021 16:55:26 +0000 (18:55 +0200)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 16:55:26 +0000 (18:55 +0200)
commit21cde5c439676d4aaa15dfc79505f364cc849ec0
tree53dc5bce2be061b1de20f39b9c5e07babf113c87
parent0909695204a73901b9164b58930cc2e3efe0fe48
Fix data URI scramble (#16098)

* Removed unused method.

* No prefix for data uris.

* Added test to prevent regressions.
modules/markup/html.go
modules/markup/html_test.go
modules/markup/sanitizer.go
modules/markup/sanitizer_test.go