https://bz.apache.org/bugzilla/show_bug.cgi?id=60451
--- Comment #1 from Ludovic Pénet <l.pe...@senat.fr> --- Well, my first analysis of this problem was wrong. After further debugging, it appears that the problem is rather in the "Content-Disposition" header value. As we are in France, it sometimes contains non ascii chars. In this case, char é caused the exception in HPackHuffman.encode. So, I changed the way I set the header from : resp.setHeader("Content-Disposition", "attachment;filename=\"" + filename + "\""); to : URLEncoder enc = new URLEncoder(); resp.setHeader("Content-Disposition", "attachment; filename*=UTF-8''" + enc.encode(filename, "UTF-8")); and it works. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org