Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.7.0, 5.0, 5.1, 5.2, 5.3.1
-
None
-
None
-
Castor Core S2, Castor Core S3
Description
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.
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
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: '\(', '\)'.