Adding Content-Type header to the OAuth complete endpoint (#10961)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
4de81fa94c
Коммит
17e6297a15
@@ -538,6 +538,7 @@ func completeOAuth(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||||
http.Redirect(w, r, redirectUrl, http.StatusTemporaryRedirect)
|
http.Redirect(w, r, redirectUrl, http.StatusTemporaryRedirect)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user