1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-12 13:37:20 +00:00

User Settings: Ignore empty language codes & validate (#13755)

This commit is contained in:
6543
2020-12-04 07:20:30 +01:00
committed by GitHub
parent 3512c7e40f
commit 48a3bb7a32
6 changed files with 15 additions and 6 deletions

View File

@ -24,7 +24,7 @@ func TestXSSUserFullName(t *testing.T) {
"name": user.Name,
"full_name": fullName,
"email": user.Email,
"language": "en-us",
"language": "en-US",
})
session.MakeRequest(t, req, http.StatusFound)