Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3601

Files starting with "struts" (e.g., "struts.jsp") give 404

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0, 2.1.8, 2.2.1.1
    • 2.3.1
    • None
    • Operating System:Windows 7
      JDK-version:1.6
      Tomcat-version:7.0.6

    • Important

    Description

      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.

      Attachments

        1. WW-3601.patch
          0.7 kB
          Steven Benitez

        Activity

          People

            lukaszlenart Lukasz Lenart
            xlb0479 Li Hao Su
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified