Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28632

JSPWikiEngine inserts extra escape characters into the URL

    Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed

      Description

      Replicated: 6.0.12, 6.0.x (Rev. 115990), Trunk (Rev. 115990)

      NOTE: Must have the following property enabled: wiki.formats.engine[creole]=com.liferay.portlet.wiki.engines.jspwiki.JSPWikiEngine

      1. Create a wiki article using the title: Test&Test Test2. Edit the front page article and link to the article you just created: [[Test&Test Test]]
      3. The link should be blue meaning the page exists. However, the link is changed to the following: http://localhost:8080/web/guest/home/-/wiki/Main/Test%26amp%3BTest+Test
      4. When you click on the link that is saved and published, you will navigate to an "Error" page to stating "This page is empty. Use the buttons below to create it or to search for the words in the title."
      5. Edit the front page link to: [[Test&Test+Test]]
      6. The link should be red meaning the page does not exist.
      7. Clicking on the link, you will get an error message saying: "This page does not exist yet and the title is not valid." The title will now be "Test&Test+Test"
      8. If I change the URL to "http://localhost:8080/web/guest/home/-/wiki/Main/Test%26Test+Test", the page does exist.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pani.gui Pani Gui (Inactive)
              Reporter:
              kenneth.chang Kenneth Chang (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 3 weeks, 3 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2