Details

    • Type: Bug Bug
    • Status: Closed
    • 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
    • Similar Issues:
      Show 5 results 

      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

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              SE Support
              Reporter:
              Brian Chan
              Recent user:
              Randy Zhu
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 21 weeks, 6 days ago

                Development

                  Structure Helper Panel