Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4728

Wysiwyg editor special character handling in links

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4 M1
    • 2.1.1
    • WYSIWYG Editor
    • None
    • Integration
    • Unknown

    Description

      There is an issue in the Wysiwyg editor. If you create a link and put as the page something containing the characters . : / ? # it will fail to be valid and/or might not be what the user meant.

      If you use

      Nice document : paris

      This will mean a link to a wiki called "Nice document"

      If you use

      Nice document. Paris

      This will mean a link to the space Nice document

      If you use

      Nice document / Paris

      It will generate invalid XWiki links

      ? and # will be treated as parameter and anchors to the link.

      Solution 1/

      I believe this characters should be encoded and an additional field should be use to set the wiki, space, parameter or anchors

      Solution 2/

      Warn the use that he should not be using these characters

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              ludovic Ludovic Dubost
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: