Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 5.2.3
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Branch Version/s:
      5.2.x, 5.1.x
    • Backported to Branch:
      Committed

      Description

      /hello is a valid friendly URL for a group
      /hello/world should NOT be a valid friendly URL

      GroupLocalServiceImpl had to be fixed to disallow that

      Allowing that will cause FriendlyURLServlet to never find the page's friendly URL because we assume that the group only takes the first word, and that everything afterwards belongs to the layout until it sees a "/-/". After it sees that delimiter, it expects the portlet id.

      For example:

      http://www.liferay.com/web/guest/community/forums/-/message_boards

      http://www.liferay.com is the domain

      /web is the servlet mapping for public sites

      /guest is the group friendly url (this should never be more than one level deep)

      /community/forums is the layout friendly url

      /-/ is a portlet delimiter

      /message_boards is mapped to the message boards portlet via the MBFriendlyURLMapper

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                brian.chan Brian Chan
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  8 years, 3 weeks, 2 days ago