Changes between Initial Version and Version 1 of Ticket #55274, comment 6
- Timestamp:
- 02/28/2022 06:39:56 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55274, comment 6
initial v1 1 1 I've tried using {{{esc_url()}}} like in https://core.trac.wordpress.org/attachment/ticket/36549/36549.2.diff but it didn't help. 2 2 3 The image filename that I used to test this is {{{smeće-1024x614.png}}} the special char in this filename is {{{ć}}} - a Croatian letter. In the src attribute path is properly encoded {{{sme%C4%87e-1024x614.png}}} }3 The image filename that I used to test this is {{{smeće-1024x614.png}}} the special char in this filename is {{{ć}}} - a Croatian letter. In the src attribute path is properly encoded {{{sme%C4%87e-1024x614.png}}} 4 4 5 5 With current code and with {{{esc_url()}}} the image was encoded in srcset as {{{smeće-1024x614.png}}} which is an invalid url.