Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-718

Bad headers when a flash is inserted from the ressources explorer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.6.7, 2.9.20
    • 2.6.6, 2.9.19
    • None
    • Affects Version: 2.6.5

      this bug appears on Bordeaux 3: https://issues.anyware-tech.com/browse/UBIII-580
      How to reproduce it:

      • Open a page
      • Edit it
      • Insert a Flash from the ressouces explorer
      • Save

      What happens

      • the flash is not displayed

      Required behavior:

      • the flash is displayed

      At this time we have in the headers
      Content-Disposition attachment

      It seems to be the source of the problem.

      We did a hack in /home/cms/Ametys_CMS/application/cms/modules/resources/sitemap.xmap
      We removed:
      <map:act type="set-header">
      <map:parameter name="Content-Disposition" value="attachment"/>
      </map:act>
      And the flash was played correctly

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: