0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-28 22:33:32 +01:00
gitea/modules/contexttest
wxiaoguang f01bed2443
Avoid double-unescaping of form value (#26853)
1. The old `prepareQueryArg` did double-unescaping of form value.
2. By the way, remove the unnecessary `ctx.Flash = ...` in
`MockContext`.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-09-01 12:01:36 +00:00
..
context_tests.go