Uploaded image for project: '{RETIRED} CKEditor Integration'
  1. {RETIRED} CKEditor Integration
  2. CKEDITOR-226

Creating a mailto link in ckeditor with subject and body params encode spaces as "+" instead of "%20"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.26
    • 1.25
    • None
    • None
    • Easy
    • N/A
    • N/A
    • Pull Request accepted

    Description

      Steps to reproduce:

      1. In ckeditor click on the link button (or hit Ctrl+L)
      2. In the second field of the pop-up select Mail Address
      3. Click on Options to expand the last two fields and complete them with texts containing spaces and click OK
      4. Save and view

      Expected result:

      A link that when you click on the mail client will open up with the Subject and Body pre-filled

      Actual result:

      Although the messages are pre-filled, instead of spaces the words are separated by the sigh "+"

      This can be seen in wiki mode as well where the spaces should be encoded as "%20" instead of "+".

      Additional information:

      This is a result of a jquery bug that was fixed in a later version that XWiki uses.

      issue can be seen here: https://github.com/jquery/jquery/issues/2658

      Attachments

        1. mailClient.png
          72 kB
          Paul Pantiru
        2. mailtoLink.png
          45 kB
          Paul Pantiru
        3. source.png
          6 kB
          Paul Pantiru

        Activity

          People

            ppantiru Paul Pantiru
            ppantiru Paul Pantiru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: