[wp-trac] [WordPress Trac] #52155: Cyrillic SVG support is broken in 5.6

WordPress Trac noreply at wordpress.org
Tue Dec 22 14:39:56 UTC 2020


#52155: Cyrillic SVG support is broken in 5.6
--------------------------+-----------------------------
 Reporter:  xorred        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  5.6
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Cyrillic SVG support is broken.
 UTF and ASCII svg file names works just fine.

 Example: try to upload this file to any media library on any WordPress
 installation:
 https://atlantsecurity.com/wp-content/uploads/2020/12/подготовка-аудит-ит-
 безопасности.svg

 It uploads fine, but does not display in Media. Also, when you try to
 insert it into a page or post, it inserts only word 2 and 3 from the file
 name.
 If you rename the same file to file.svg (ascii english) - it displays just
 fine, gets inserted just fine.

 Example
 word1-word2-word3.svg

 You try to insert it, it inserts word2-word3.svg only and the result is a
 broken image link.

 The file however is in the library, you can access it as the example I
 gave above.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52155>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list