I was looking at the change log for
9.0.71 and i saw this entry
Tomcat changeLog:
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html
Bug 66388:
https://bz.apache.org/bugzilla/show_bug.cgi?id=66388
Fix: 66388: Correct a regression in the refactoring that replaced the use of the URL constructors. The regression broke lookups for resources that contained one or more characters in their name that required escaping when used in a URI path. (markt)
Bug 66409 (Marked as duplicate to 66388):
https://bz.apache.org/bugzilla/show_bug.cgi?id=66409
There was something in 66409 that indicates change in how url is called:
Some investigation on our side showed that org.apache.cataline.webresources.AbstractArchiveResource#getURL() has changed from version 7.0.69 to 7.0.70. Instead of using the java.net.URL directly, java.net.URI(url).toURL() is used now. The problem is, that the URL is not encoded properly.
is this related? The weird thing is that the bug is supposed to be related to blank spaces in url but the url in context file does not have blank spaces.