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

Inserting an Image in Message Boards with special character in URL fails with AlloyEditor

    Details

      Description

      Steps to Reproduce:
      1. Configure DXP 7.0 to use AlloyEditor for Message Boards by setting the following in portal-ext.properties:

      editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.bb_code.jsp=alloyeditor
      editor.wysiwyg.portal-web.docroot.html.portlet.message_boards.edit_message.html.jsp=alloyeditor
      

      2. Start Liferay DXP
      3. Add the Message Boards portlet to a page
      4. Add a new message board thread
      5. Click the plus button and click image icon to insert an image
      6. Don't select or upload a file, but choose to enter a URL using Example 1 given below
      7. Verify that the image displays both in the select modal and the message body, then Publish
      8. Verify that the image is in the message thread
      9. Repeat Steps 4-7 using Example 2

      Example 1
      http://www.creativeapplications.net/wp-content/uploads/2010/03/Mycelium00.png

      Example 2
      https://cdn-images-1.medium.com/max/1600/1*T8z2EeDpJz49Xg9SuYlhXw.png

      Expected Results:
      Image from Example 2 should be in the message thread

      Actual Results:
      Image from Example 2 is not displayed in the message thread, nor in the edited body of the thread

      Branch: Reproduced (c25aa689d6acb234f54781b6a262e0667b7ad6b7)
      Master: Reproduced (ebaa9c3e3fca25d35753065c4b4c47d196ed02ad)

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 3 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP59
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master