ZKLessServlet does not work on Jetty9

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: 7.0.3
    • Component/s: CSS
    • None
    • None

      method ZKLessServlet.doGet():

      String reqFilePath = request.getPathInfo(); - this method returns reqFilePath including leading slash {e.g. "/window.less")
      String reqRealPath = sc.getRealPath(lessResource + "/" + reqFilePath); - concatenates requested path with double slash (e.g. "/less//window.less")

      On Jetty 9 the reqRealPath is then null. If double slash is removed, everything works correctly.

            Assignee:
            Unassigned
            Reporter:
            edudant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: