-
Aug 23rd, 2010, 06:50 PM
#1
Case (Upper/Lower) Issue in ResourceServlet
I noticed that I am having issues loading images using the ResourceServlet.
My images are referenced via /static/images/*.
If I have the image /images/sample.jpg, the ResourceServlet finds it without a problem.
But....
If my image is named /images/sample.JPG, suddenly that image becomes a 'protected resource' and is unavailable.
I tried using /**/*.JPG as one of my allowable resource matches but the ant parser deep down seems to not like that. (I received an exception instead of the 'protected message'.)
I believe that this was introduced when addressing a security issue (https://jira.springframework.org/browse/SWF-706)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules