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

Image thumbnail not shown on backend if alias contains quotes

    XMLWordPrintable

Details

    • Castor Core S2, Castor Core S3

    Description

      Steps to reproduce:
      1. Configure site with urlalias_iri TransformationGroup ( in site.ini, [URLTranslator])
      2. Create a folder with quotes in name (for example under "Media" section)
      3. Add an image to this folder
      4. Make sure "thumbnail" is checked in table options for subitems.
      5. On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.
      Further notes:
      1. ezjscnode call html-encodes thumbnail_url :
        "thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png"
        
      2. also variable url does not seem to be encoded in ezajaxsubitems_datatable.js , #L70,

      http://www.w3.org/TR/CSS2/syndata.html#value-def-uri

      Some characters appearing in an unquoted URI, such as parentheses, white space characters, single quotes (') and double quotes ("), must be escaped with a backslash so that the resulting URI value is a URI token: '\(', '\)'. 
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            joao.inacio-obsolete@ez.no Joao Inacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 hour Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h