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

Image thumbnail not shown on backend if alias contains quotes

    Details

    • Sprint:
      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: '\(', '\)'. 
      

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          4m 53s 1 joao.inacio@ez.no 30/Jun/14 4:26 PM
          Confirmed Confirmed InputQ InputQ
          8m 47s 1 Paulo Lopes (Inactive) 30/Jun/14 4:35 PM
          Development Development Documentation Review done Documentation Review done
          3h 27m 2 Gunnstein Lye 23/Jul/14 9:47 AM
          QA QA InputQ InputQ
          1d 1m 3 Paulo Nunes 23/Jul/14 2:58 PM
          InputQ InputQ Development Development
          7d 2h 47m 4 damien.pobel@ez.no 23/Jul/14 3:16 PM
          Development Development Development Review Development Review
          22h 14m 2 damien.pobel@ez.no 23/Jul/14 3:24 PM
          Development Review Development Review Development Review done Development Review done
          13d 15h 26m 2 damien.pobel@ez.no 24/Jul/14 11:30 AM
          Development Review done Development Review done Documentation Review done Documentation Review done
          21m 31s 2 damien.pobel@ez.no 24/Jul/14 11:31 AM
          Documentation Review done Documentation Review done QA QA
          22h 55m 4 Paulo Nunes 24/Jul/14 11:49 AM
          QA QA Closed Closed
          4h 12m 1 Paulo Nunes 24/Jul/14 4:01 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              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

                  Agile