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

WordPress Trac noreply at wordpress.org
Wed Mar 9 18:43:08 UTC 2022

#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 needs-testing dev-         |     Focuses:
  feedback has-unit-tests                        |

Comment (by Mte90):

 I did a PR https://github.com/WordPress/wordpress-develop/pull/2377 that
 include a unit test but just use `àìòù` and I am using `rawurlencode`.

 Probably can be improved and added more tests but is now open for

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

More information about the wp-trac mailing list