Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2540

ZKLessServlet does not work on Jetty9

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 7.0.3
    • CSS
    • 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.

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

              Created:
              Updated: