Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JCR Webdav 2.0.2
    • Fix Version/s: JCR Webdav 2.0.6
    • Component/s: JCR
    • Labels:
      None

      Description

      Reported by Marc Speck in [1]

      When PathInfo is null or "/", a response is already created and it makes no
      sense to call super.service() anymore:

      Index: SimpleWebDavServlet.java
      ===================================================================
      — SimpleWebDavServlet.java (revision 691120)
      +++ SimpleWebDavServlet.java (working copy)
      @@ -85,9 +85,9 @@
      uri += slingRepo.getDefaultWorkspace();
      response.sendRedirect(uri);
      }
      + } else

      { + super.service(request, response); }

      -

      • super.service(request, response);
        }

      // ---------- SCR integration
      ----------------------------------------------

      Regards,
      Marc

      [1] http://markmail.org/message/z3tp43u54a7yqhqn

        Activity

        Hide
        Felix Meschberger added a comment -

        Fixed as proposed in Rev. 691374.

        Awating feedback before closing.

        Show
        Felix Meschberger added a comment - Fixed as proposed in Rev. 691374. Awating feedback before closing.
        Hide
        Felix Meschberger added a comment -

        Fix confirmed to be ok. Closing

        Show
        Felix Meschberger added a comment - Fix confirmed to be ok. Closing

          People

          • Assignee:
            Felix Meschberger
            Reporter:
            Felix Meschberger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development