-
-
Notifications
You must be signed in to change notification settings - Fork 213
validImageTypes for tl_content image #7702
Comments
This issue has been fixed meanwhile. |
This error still exists in v3.5.19 and is reproduceable in the online demo. In ce_text, you can select any file type for the "image" field, e.g. the .html file from the tinymce template folder. |
I can confirm this bug in online demo 3.5.18 and 3.5.19. @leofeyer please open a folder which contains others than image files. Then you will see that you can select e.g. an html or js file. |
Like Aybee said: content-images contains only images, thats the one folder you shouldn't use for testing. Just go down one folder to documents. You'll be able to select the pdf. Or take index.html file from the tiny_templates folder. |
Well, the PDF was selectable when I wrote the last message. Now it is not. |
Can you reliably reproduce this? |
I think I've found a way to reliably reproduce this bug. It depends on the folder status. |
Fixed in 7b7af71. |
* Correctly handle nested public folders when symlinking a folder. * Correctly handle SVGZ files in the file manager (see contao/core#8624). * Prevent an endless redirect loop if the page alias is "/" (see contao/core#8560). * Correctly parse German dates with two digit years in MooTools (see contao/core#8593). * Correctly add new resources to the user/group permissions (see contao/core#8583). * Trigger the auto-submit function in the date picker (see contao/core#8603). * Call the load callback when loading page/file picker nodes (see contao/core#7702).
singleSRC (for image) has no validImageTypes in tl_content
and it is possible to select a file instead of the image
maybe add imgsingleSRC for images?
The text was updated successfully, but these errors were encountered: