Announcement Announcement Module
Collapse
No announcement yet.
Case (Upper/Lower) Issue in ResourceServlet Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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)
Working...
X