Re: Bug: StackOverflowError on some unusual filenames

Splash Forums PrettyFaces Users Bug: StackOverflowError on some unusual filenames Re: Bug: StackOverflowError on some unusual filenames

#23335

Some more background info on this one. I’m currently creating a small sample app to reproduce this issue.

It seems like doing this will always fail:

URL url = servletContext.getResource("/file#1.txt");
url.openStream();

Calling openStream() always throws a FileNotFoundException because it tries to open /file instead of /file#1.txt. This happens on AS7 and also on Tomcat. But I think this is because AS7 uses some Tomcat classes internally.

Interesting issue. :)