https://bz.apache.org/bugzilla/show_bug.cgi?id=62459
--- Comment #2 from Guido Jäkel <g.jae...@dnb.de> --- Created attachment 35991 --> https://bz.apache.org/bugzilla/attachment.cgi?id=35991&action=edit proposed patch to avoid double encoding of an encoded slash I propose the attached patch. It will skip over the encoding of the percent character ('%') to '%25', if it is followed by the string '2F' or it's lower case representation. Because this following char's are "legal", just passing over the '%' unchanged and continue the loop will do the job. The test condition is robust against an incomplete '%xx' as long as the incoming string is '\0'-terminated as also assumed by the for loop. Applying this patch allows me to switch to the mode 'ForwardURIProxy' again (instead of using 'ForwardURICompatUnparsed' as a workaround) for our REST-usecase with use a data representation which contain encoded slashes in path elements. -- 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