Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21357

Wildcards '*' not escaped for shell commands when using 'urlalias_iri' transformation group

    XMLWordPrintable

    Details

      Description

      In a situation where a content object with an image attribute contains a wildcard/asterisk in its name (i.e: My Test Content*) and, site.ini, URLTranslator.TransformationGroup is set to urlalias_iri, generating image alias yields incorrect behavior, whereas multiple files for the same image alias are created exponentially.

      Steps to reproduce:

      1. Enable urlalias_iri, in site.ini:

      [URLTranslator]
      TransformationGroup=urlalias_iri
      

      2. Create a content object with a name ending in an asterisk, and include an image.
      3. View the image through admin interface or front-end, at this point image files should be generated (in, i.e, ezflow_site/storage/images/title*/...
      4. Clear your cache, and refresh the page where you are seeing the content object; at this point, additional files will be created for already existing image aliases, suffixed with a number. Repeating this step multiple times will create more image files exponentially.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Filipe.Dobreira@ez.no Filipe Dobreira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 2 hours, 15 minutes
                  4d 2h 15m