[ https://issues.apache.org/jira/browse/WW-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Benitez updated WW-3601: ------------------------------- Attachment: WW-3601.patch I don't see any downside to patching this whatsoever. The intent is clearly for referencing files such as /static/css/my-style.css or /struts/files/awesome.png. > Files starting with "struts" (e.g., "struts.jsp") give 404 > ---------------------------------------------------------- > > Key: WW-3601 > URL: https://issues.apache.org/jira/browse/WW-3601 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.0.0, 2.1.8, 2.2.1.1 > Environment: Operating System:Windows 7 > JDK-version:1.6 > Tomcat-version:7.0.6 > Reporter: Li Hao Su > Priority: Minor > Labels: 404-error, filename, request > Attachments: WW-3601.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > I hope I can explain this bug clear. Forgive me my poor English. > When I make a file, the filename likes 'struts.jsp', I request this page in > my IE, for example 'http://localhost/struts.jsp', it tells me a 404-error. > Then I changed the name to '123struts.jsp', request again, I got the page. > But if I named the page 'struts123.jsp', it'll give me the 404-error again. > I also tried to change the suffix, like 'struts.html', while it's happened > again, even though I changed the name like 'struts.txt'. > This bug has occurred in Struts2.0.0, 2.1.8 and 2.2.1.1. > Of couse, if I do not use the Struts2, this bug disappeared. > Thanks. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira