tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59001] Unable to load jar files when they have exclamation in the path
Date Tue, 16 Feb 2016 22:09:19 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59001

--- Comment #3 from Christopher Schultz <chris@christopherschultz.net> ---
Honestly, I'm surprised that it's failing where it is: I would have expected it
to fail saying that "G:\TEST" didn't exist.

This isn't Tomcat doing this; it's the combination of a large number of
components all of which are using URLs for certain purposes. There are many
many corner cases where the JRE itself will fall-over even if Tomcat wasn't
involved.

I don't believe Tomcat massages any of the URLs it's processing, so there may
be an opportunity for Tomcat to escape the ! characters in an on-disk filename
(i.e. "!" -> "%21"). But like I said, there's always more and more edge-cases
and encoding once means possibly encoding multiple times (and sometimes having
to decode a few times, too). It's just a giant mess.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message