Jetty
  1. Jetty
  2. JETTY-1489

WebAppProvider attempts to deploy .svn folder

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 7.6.0
    • Fix Version/s: 7.6.2, 8.1.2
    • Component/s: Servlet
    • Labels:
      None
    • Environment:
      Centos/ Linux
    • Number of attachments :
      0

      Description

      If there is a hidden dir in the webapps directory the WebAppProvider attempts to deploy the directory. Throws an
      java.lang.StringIndexOutOfBoundsException: String index out of range: 0

      If Filter is patched to disallow filenames folders starting with (dot)

        Activity

        Hide
        Jan Bartel added a comment -

        Also ensured that the ContextProvider won't deploy hidden files that have a .xml suffix (eg .foo.xml).

        Show
        Jan Bartel added a comment - Also ensured that the ContextProvider won't deploy hidden files that have a .xml suffix (eg .foo.xml).
        Jan Bartel made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Jan Bartel [ janb ]
        Fix Version/s 7.6.2 [ 18352 ]
        Fix Version/s 8.1.2 [ 18351 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Jan Bartel
            Reporter:
            Alex Jeannopoulos
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: