0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-27 11:14:25 +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 Avoid double-unescaping of form value (#26853) 2023-09-01 12:01:36 +00:00