Rich Text Editor does not handle copying and pasting links in the same domain

XMLWordPrintable

      In Confluence 2.10, CONF-7395 is fixed, but there is a broken edge case:

      Pasting internal Confluence links from Confluence pages into the Rich Text Editor breaks.

      To reproduce:

      1)copy the text from this page: http://qa-eac.atlassian.com/confluence/display/BUGS/pasting+links

      The wiki markup is:

      text [link|BUGS:Home] text

      2) add a new page, and paste the copied text into the RTE.

      3) switch to wiki markup. The pasted link is no longer valid:

      text [link|../display/BUGS/Home] text

      Apparently, TinyMCE cleverly constructs a relative URL instead of an absolute one. This is not something handled well by the link resolver. We need to either fix the link resolver to handle relative URLs, or find a switch in TinyMCE to turn off the relative URL behaviour, or alter TinyMCE to not modify the links.

              Assignee:
              Unassigned
              Reporter:
              Don Willis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: