[wp-trac] [WordPress Trac] #47941: URL with umlaut is sanitized in user-edit.php form

WordPress Trac noreply at wordpress.org
Wed Aug 28 00:24:47 UTC 2019


#47941: URL with umlaut is sanitized in user-edit.php form
--------------------------+------------------------------
 Reporter:  smaffulli     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:   => close
 * component:  General => Users


Comment:

 Hi @smaffulli, welcome to WordPress Trac! Thanks for the report.

 As previously noted in #18945, encoding non-ASCII characters in URLs is a
 part of web standards:

 > Non-ASCII characters must first be encoded according to UTF-8 [STD63],
 and then each octet of the corresponding UTF-8 sequence must be percent-
 encoded to be represented as URI characters.

 http://tools.ietf.org/html/rfc3986#page-21 [[BR]]
 http://en.wikipedia.org/wiki/Percent-encoding#Current_standard

 It's the same for Cyrillic characters, for example. I don't see a bug
 here.

 That said, most browsers decode the URLs to display them in a human-
 readable form.

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


More information about the wp-trac mailing list