Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-38560

The Antisamy filter is blocking some CK editor elements

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.9.x
    • Fix Version/s: 2.9.x
    • Component/s: Kernel
    • Labels:
      None
    • Property addition/change required:
      Yes
    • Previous Issue Keys:
      KNL-1029

      Description

      The Antisamy filter is blocking some elements that are entered vía CK buttons, i.e:

      Movies:

      When inserting a movie using the "Insert/Edit Movie" button, the filter is blocking it. I attached two example images for a youtube url and an avi file that was uploaded to resources.

      Tables:

      Click on the table button. Fill in "Caption" and/or "Summary" field/s and add the table. The filter blocks it showing an alert message that you can see in the attached image.

      Links:

      Click on "link" button. Add a link. The filter blocks it due to the "target" attribute included by default.

      A minor note: When the blocking messages appears, you can see in all the images that it is showing <div class="error">.

        Gliffy Diagrams

          Zeplin

            Attachments

            1. aviVideo.JPG
              aviVideo.JPG
              39 kB
            2. flv01.jpg
              flv01.jpg
              98 kB
            3. flv02.jpg
              flv02.jpg
              128 kB
            4. flv03.jpg
              flv03.jpg
              44 kB
            5. flv04.jpg
              flv04.jpg
              101 kB
            6. flv05.jpg
              flv05.jpg
              168 kB
            7. frame_name.jpg
              frame_name.jpg
              120 kB
            8. inserting_media_files_errors.txt
              3 kB
            9. inserting_media_files_source.txt
              3 kB
            10. KNL-1029_2.9_ckeditor.patch
              55 kB
            11. KNL-1029_target_table_only.patch
              2 kB
            12. KNL-1029_targets.patch
              57 kB
            13. KNL-1029_youtube_library.patch
              2 kB
            14. link.JPG
              link.JPG
              17 kB
            15. summaryAndCaptionInTable.JPG
              summaryAndCaptionInTable.JPG
              25 kB
            16. table_header-caption01.jpg
              table_header-caption01.jpg
              72 kB
            17. table_header-caption02.jpg
              table_header-caption02.jpg
              138 kB
            18. table_header-caption03.jpg
              table_header-caption03.jpg
              79 kB
            19. youtube.JPG
              youtube.JPG
              26 kB

              Issue Links

                Activity

                  People

                  Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  Reporter:
                  joserabal José Rabal Sastre
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration