[wp-trac] [WordPress Trac] #34571: Thumbnails and featured images broken if the filename contains utf8 characters (e.g. üäö)

WordPress Trac noreply at wordpress.org
Tue Nov 17 13:27:01 UTC 2015


#34571: Thumbnails and featured images broken if the filename contains utf8
characters (e.g. üäö)
--------------------------+------------------------------
 Reporter:  smuts         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by smuts):

 @sebastian.pisula - your suggestion is not a solution as it santitizes new
 uploads. The case refers to existing assets when coming from an upgrade.

 @swissspidy - I agree that a failsafe solution would be proper sanitizing
 everything, including assets. Turns out that non-sanizized images in <img>
 tags do not seem to be a big issue as to our tests. For us non-sanitized
 images worked in 3.5 and 3.6, we just bumped into it when upgrading to
 4.3.1 recently.

 The biggest headache as part of the upgrade was that these non-sanitized
 assets "broke" in the upgrade: the image library would not let us work
 with these assets and all plugins that extend the library, and potentially
 would allow us to sanitize names, would break.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34571#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list