(refs #20)Ignore response.setCharacterEncoding().

This commit is contained in:
takezoe
2013-07-09 02:02:28 +09:00
parent daa54029ed
commit 777142b992

View File

@@ -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 {