[wp-trac] [WordPress Trac] #49033: PHPMailer "basename"

WordPress Trac noreply at wordpress.org
Wed Dec 18 18:49:23 UTC 2019


#49033: PHPMailer "basename"
--------------------------+-----------------------------
 Reporter:  northmule     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When sending attached files in Cyrillic encoding, the file name is
 truncated. This is because in class "PHPMailer", functions "addAttachment"
 use "basename". Maybe you should use the WordPress feature in this place
 wp_basename.
 For example, when sending a file through function wp_mail, we specify the
 file name / path / Файл.pdf -  As a result, the file reaches the addressee
 ".pdf"

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


More information about the wp-trac mailing list