Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-71

ServletContextImpl.getResourcePaths() does not follow the spec

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.Alpha19
    • 1.0.0.Alpha18
    • Servlet
    • None

      Subdirectory paths do not end with a /.

      Moreover the current impl simply calls java.nio.file.Path.toString(). I'm not sure how this works on non-unix machines where the different path separator is used (IMO the servlet spec requires slash separator, see also javax.servlet.ServletContext.getResource(String) javadoc).

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: