Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-843

Whitespaces are not sanitized when uploading assets through zip-files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 3.0.2
    • 3.0
    • None
    • None

      Steps to reproduce

      • Upload images as a zip-file
      • check JCR / use them on a chooser

      Expected results

      • Whitespaces sanitized as dashes

      Actual results

      • Whitespaces not sanitized - assets cannot be used on templates when not sanitized

      Workaround

      • No workaround apart from manually sanitizing before uploading

      Development notes

      • Whitespaces are sanitised when images are uploaded directly (i.e. not through a zip-file)
        Green: direct upload as jpeg (whitespaces replaces with dashes / works)
        Red: uploaded as zip (includes whitespaces still / does not work)
      • Note that the upload through zip also appends the file extensions to the names which may be the cause of MGNLUI-5826
        Red: Zip-upload
        Green: Direct upload

        Acceptance criteria

              asiska Adam Siska
              slutz Simon Lutz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD