summaryrefslogtreecommitdiffstats
path: root/modules/git/parse_nogogit_test.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-11-09 15:40:26 +0800
committerGitHub <noreply@github.com>2022-11-09 15:40:26 +0800
commit7e40ceee9e90bd2cab0339f4301c476040d7121b (patch)
treee42c878890dd9b001a3739e05e43e9c7dbabb5dd /modules/git/parse_nogogit_test.go
parent20674dd05da909b42cbdd07a6682fdf1d980f011 (diff)
downloadgitea-7e40ceee9e90bd2cab0339f4301c476040d7121b.tar.gz
gitea-7e40ceee9e90bd2cab0339f4301c476040d7121b.zip
Fix UI language switching bug (#21597)
Related: * https://github.com/go-gitea/gitea/pull/21596#issuecomment-1291450224 There was a bug when switching language by AJAX: the irrelevant POST requests were processed by the target page's handler. Now, use GET instead of POST. The GET requests should be harmless. Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: Jason Song <i@wolfogre.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules/git/parse_nogogit_test.go')
0 files changed, 0 insertions, 0 deletions