diff options
Diffstat (limited to 'api4')
-rw-r--r-- | api4/oauth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/oauth.go b/api4/oauth.go index c1aa49df4..c3586bbdf 100644 --- a/api4/oauth.go +++ b/api4/oauth.go @@ -321,7 +321,7 @@ func authorizeOAuthPage(c *Context, w http.ResponseWriter, r *http.Request) { w.Header().Set("X-Frame-Options", "SAMEORIGIN") w.Header().Set("Content-Security-Policy", "frame-ancestors 'self'") - w.Header().Set("Content-Type", "text/html") + w.Header().Set("Content-Type", "text/html; charset=utf-8") w.Header().Set("Cache-Control", "no-cache, max-age=31556926, public") staticDir, _ := utils.FindDir(model.CLIENT_DIR) |