[wp-trac] [WordPress Trac] #14148: wp_get_attachment_url() is not url encoding

WordPress Trac noreply at wordpress.org
Thu Feb 16 20:55:05 UTC 2023


#14148: wp_get_attachment_url() is not url encoding
-------------------------------------------------+-------------------------
 Reporter:  danorton                             |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Media                                |     Version:  3.0
 Severity:  major                                |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------
Changes (by johnbillion):

 * keywords:  has-patch needs-testing dev-feedback has-unit-tests => has-
     patch has-unit-tests needs-testing-info
 * milestone:  6.2 => Future Release


Comment:

 I'm unable to reproduce this problem. I tried the following filenames:

 * `test-image-àèòìù.jpeg` (resulted in `example.com/test-image-
 aeoiu`)
 * `X%X.jpeg` (resulted in `example.com/xx`)

 Can someone provide specific steps to reproduce if this is still a problem
 please?

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


More information about the wp-trac mailing list