summaryrefslogtreecommitdiffstats
path: root/models/context.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-07-31 04:14:04 +0200
committerGitHub <noreply@github.com>2020-07-30 22:14:04 -0400
commit11dcc177637a234fd624db5d766746dea992bcd4 (patch)
tree457c6a6be21298c41c23761356a036d41d4f6767 /models/context.go
parent24f86257900866ced5aa6b470d05f6d9f1a82de0 (diff)
downloadgitea-11dcc177637a234fd624db5d766746dea992bcd4.tar.gz
gitea-11dcc177637a234fd624db5d766746dea992bcd4.zip
Improve HTML escaping helper (#12383)
The previous method did not escape single quotes which under some circumstances can lead to XSS vulnerabilites and the fact that it depends on jQuery is also not ideal. Replace it with a lightweight module. Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models/context.go')
0 files changed, 0 insertions, 0 deletions