https://bz.apache.org/bugzilla/show_bug.cgi?id=57871
Bug ID: 57871 Summary: LegacyCookieProcessor.setAllowHttpSepsInV0(false) affects all characters, not just separators Product: Tomcat 8 Version: 8.0.21 Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: knst.koli...@gmail.com Reviewing code of LegacyCookieProcessor.setAllowHttpSepsInV0(boolean) of current Tomcat 8. There is the following code: char[] seps = "()<>@:\\\"[]?={}\t".toCharArray(); for (char sep : seps) { if (allowHttpSepsInV0) { allowedWithoutQuotes.set(sep); } else { allowedWithoutQuotes.clear(); } } if (getForwardSlashIsSeparator() && !allowHttpSepsInV0) { allowedWithoutQuotes.set('/'); } else { allowedWithoutQuotes.clear('/'); } Apparently it was supposed to do "clear(sep)" instead of just clear(). -- 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