https://issues.apache.org/bugzilla/show_bug.cgi?id=57420
--- Comment #9 from Felix Schumacher <felix.schumac...@internetallee.de> --- Created attachment 32382 --> https://issues.apache.org/bugzilla/attachment.cgi?id=32382&action=edit Make UEncoder a local variable and introduce a default safe charset enum This patch uses a local variable for the UEncoder in DirContextURLConnection and enables the safeChars in UEncoder to be immutable. That way all Response and DirContextURLConnection instances can share one safeChars BitSet while having their own UEncoder instance which remains unsafe for multithreaded usage. -- 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