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

          Joao Inacio (Inactive) created issue -
          Joao Inacio (Inactive) made changes -
          Field Original Value New Value
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}}
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          variable {{url}} does not seem to be encoded in ezajaxsubitems_datatable.js , #L70
          h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          variable {{url}} does not seem to be encoded in ezajaxsubitems_datatable.js , #L70
          Joao Inacio (Inactive) made changes -
          Status Open [ 1 ] Confirmed [ 10037 ]
          Paulo Lopes (Inactive) made changes -
          Status Confirmed [ 10037 ] InputQ [ 10001 ]
          Joao Inacio (Inactive) made changes -
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          variable {{url}} does not seem to be encoded in ezajaxsubitems_datatable.js , #L70
          h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          variable {{url}} does not seem to be encoded in ezajaxsubitems_datatable.js , #L70

          http://www.w3.org/TR/CSS2/syndata.html#value-def-uri
          {code}
          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: '\(', '\)'.
          {code}
          Joao Inacio (Inactive) made changes -
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          variable {{url}} does not seem to be encoded in ezajaxsubitems_datatable.js , #L70

          http://www.w3.org/TR/CSS2/syndata.html#value-def-uri
          {code}
          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: '\(', '\)'.
          {code}
          h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url ( {{"thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png" }} )
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          Joao Inacio (Inactive) made changes -
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url ( {{"thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png" }} )
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url ( {{ "thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png" }} )
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          Joao Inacio (Inactive) made changes -
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url ( {{ "thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png" }} )
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url ( {{"thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png"}} )
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          Joao Inacio (Inactive) made changes -
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url ( {{"thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png"}} )
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url :
          {code}
          "thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png"
          {code}
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          André Rømcke made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ]
          André Rømcke made changes -
          Sprint Castor Core S2 [ 32 ]
          André Rømcke made changes -
          Rank Ranked higher
          Yannick Roger (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Yannick Roger (Inactive) made changes -
          Summary image thumbnail not shown on backend if alias contains quotes Image thumbnail not shown on backend if alias contains quotes
          Yannick Roger (Inactive) made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          André Rømcke made changes -
          Assignee Yannick Roger [ yannick.roger@ez.no ] Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Description h5. Steps to reproduce:

          # Configure site with {{urlalias_uri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url :
          {code}
          "thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png"
          {code}
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          h5. Steps to reproduce:

          # Configure site with {{urlalias_iri}} {{TransformationGroup}} ( in {{site.ini}}, {{[URLTranslator]}})
          # Create a folder with quotes in name (for example under "Media" section)
          # Add an image to this folder
          # Make sure "thumbnail" is checked in table options for subitems.
          # On the folder view, move mouse over the image icon, verify that the image thumbnail does not appears.

          h5. Further notes:
          # ezjscnode call html-encodes thumbnail_url :
          {code}
          "thumbnail_url": "/var/.../folder"with"quotes/image/748-1-eng-GB/image_small.png"
          {code}
          # 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
          {code}
          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: '\(', '\)'.
          {code}
          André Rømcke made changes -
          Assignee Damien Pobel [ damien.pobel@ez.no ] Gunnstein Lye [ gunnstein.lye@ez.no ]
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Rank Ranked higher
          André Rømcke made changes -
          Remaining Estimate 1 hour [ 3600 ]
          André Rømcke made changes -
          Original Estimate 1 hour [ 3600 ]
          André Rømcke made changes -
          Sprint Castor Core S2 [ 32 ] Castor Core S2, Castor Core S3 [ 32, 33 ]
          André Rømcke made changes -
          Rank Ranked higher
          Gunnstein Lye made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Gunnstein Lye made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Eduardo Fernandes (Inactive) made changes -
          Assignee Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Gunnstein Lye made changes -
          Remaining Estimate 1 hour [ 3600 ] 30 minutes [ 1800 ]
          Time Spent 30 minutes [ 1800 ]
          Worklog Id 49459 [ 49459 ]
          Pedro Resende (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Eduardo Fernandes [ eduardo.fernandes@ez.no ] Pedro Resende [ pedro.resende@ez.no ]
          Pedro Resende (Inactive) made changes -
          Assignee Pedro Resende [ pedro.resende@ez.no ] Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Eduardo Fernandes (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Eduardo Fernandes [ eduardo.fernandes@ez.no ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Gunnstein Lye made changes -
          Remaining Estimate 30 minutes [ 1800 ] 0 minutes [ 0 ]
          Time Spent 30 minutes [ 1800 ] 1 hour, 30 minutes [ 5400 ]
          Worklog Id 49489 [ 49489 ]
          Gunnstein Lye made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Fix Version/s 4.7 Maintenance [ 12583 ]
          Fix Version/s 5.0 Maintenance [ 11287 ]
          Fix Version/s 5.1 Maintenance [ 12301 ]
          Fix Version/s 5.2 Maintenance [ 12782 ]
          Fix Version/s 5.3.3 [ 13484 ]
          Joao Inacio (Inactive) made changes -
          Link This issue relates to EZP-23182 [ EZP-23182 ]
          Joao Inacio (Inactive) made changes -
          Link This issue relates to EZP-23185 [ EZP-23185 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Gunnstein Lye made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Status Development [ 3 ] Documentation done [ 10011 ]
          Gunnstein Lye made changes -
          Assignee Gunnstein Lye [ gunnstein.lye@ez.no ]
          Gunnstein Lye made changes -
          Time Spent 1 hour, 30 minutes [ 5400 ] 2 hours [ 7200 ]
          Worklog Id 49495 [ 49495 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Status QA [ 10008 ] InputQ [ 10001 ]
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status InputQ [ 10001 ] Development [ 3 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ]
          Damien Pobel (Inactive) made changes -
          Status Development [ 3 ] Development review [ 10006 ]
          Damien Pobel (Inactive) made changes -
          Remote Link This issue links to "Additional PR (Web Link)" [ 14225 ]
          Damien Pobel (Inactive) made changes -
          Status Development review [ 10006 ] Development Review done [ 10028 ]
          Damien Pobel (Inactive) made changes -
          Status Development Review done [ 10028 ] Documentation done [ 10011 ]
          Paulo Nunes (Inactive) made changes -
          Status Documentation done [ 10011 ] QA [ 10008 ]
          Assignee Damien Pobel [ damien.pobel@ez.no ] Paulo Nunes [ paulo.nunes@ez.no ]
          Paulo Nunes (Inactive) made changes -
          Assignee Paulo Nunes [ paulo.nunes@ez.no ]
          Status QA [ 10008 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 63724 ] EZ* Development Workflow [ 85173 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 85173 ] EZEE Development Workflow [ 123962 ]

            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