mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 22:15:51 +01:00
(refs #20)Ignore response.setCharacterEncoding().
This commit is contained in:
@@ -22,10 +22,7 @@ class BasicAuthenticationFilter extends Filter with RepositoryService with Accou
|
||||
val response = res.asInstanceOf[HttpServletResponse]
|
||||
|
||||
val wrappedResponse = new HttpServletResponseWrapper(response){
|
||||
override def setContentType(contentType: String) = {
|
||||
setCharacterEncoding(null)
|
||||
setHeader("Content-Type", contentType)
|
||||
}
|
||||
override def setCharacterEncoding(encoding: String) = {}
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user