[wp-trac] [WordPress Trac] #53019: The _sanitize_text_fields function removing the octets that incorrectly work with Arabic RTL languages.

WordPress Trac noreply at wordpress.org
Mon Apr 12 10:09:38 UTC 2021


#53019: The _sanitize_text_fields function removing the octets that incorrectly
work with Arabic RTL languages.
--------------------------+------------------------------
 Reporter:  wppunk        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Security      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rtl
--------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> `%10` - `%99` are valid percents for the Arabic languages. [The Arabic
> percentage
> usage]https://ar.wikipedia.org/wiki/%D9%86%D8%B3%D8%A8%D8%A9_%D9%85%D8%A6%D9%88%D9%8A%D8%A9.
>
> As I can see [here]https://core.trac.wordpress.org/browser/tags/5.7/src
> /wp-includes/formatting.php#L5409, removing all octets, but I'm not sure
> that it's really for security reasons. Anyone could approve that this
> code really important here?

New description:

 `%10` - `%99` are valid percents for the Arabic languages.
 [https://ar.wikipedia.org/wiki/%D9%86%D8%B3%D8%A8%D8%A9_%D9%85%D8%A6%D9%88%D9%8A%D8%A9
 The Arabic percentage usage].

 As I can see [here]https://core.trac.wordpress.org/browser/tags/5.7/src
 /wp-includes/formatting.php#L5409, removing all octets, but I'm not sure
 that it's really for security reasons. Anyone could approve that this code
 really important here?

--

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


More information about the wp-trac mailing list