[buddypress-trac] [BuddyPress Trac] #7484: Resize member avatar error with cyrillic (not latin) filename

buddypress-trac noreply at wordpress.org
Thu Apr 27 00:46:36 UTC 2017

#7484: Resize member avatar error with cyrillic (not latin) filename
 Reporter:  snookerist    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Core          |     Version:  2.3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
Changes (by r-a-y):

 * keywords:   => has-patch
 * version:  2.8.2 => 2.3.0


 The problem is mostly with WordPress not properly converting utf-8
 filenames to an ASCII version.

 See #WP22363, #WP15955.

 We can wait for WordPress to fix this or we can put in a temporary fix.

 `iconv.patch` will try to convert any utf-8 characters in the filename to
 their ASCII equivalent.  This should fix the immediate issue with our
 uploader class, but relies on `iconv`.

 A better method would be using URLify against our filenames:

 But that will require adding another external library.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7484#comment:3>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list