[wp-trac] [WordPress Trac] #49791: sanitize title should filter out the bullet • punctuation mark

WordPress Trac noreply at wordpress.org
Sat Apr 4 12:33:47 UTC 2020


#49791: sanitize title should filter out the bullet • punctuation mark
----------------------------------------+-----------------------------
 Reporter:  veromary                    |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  5.5
Component:  Formatting                  |     Version:  5.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by roytanck):

 After looking into Unicode punctuation a bit more I added a second patch
 that removes three more characters. All six are categorized as punctuation
 or geometric shapes.

 There are also a number of bullet characters that are mathematical
 operators/symbols, and a some in other categories. I did not include
 these, but can add them if we decide so.

 In general, there are probably thousands of characters in the Unicode
 standard that are "not ideal" to include in slugs/URLs. Is there a
 standard approach to dealing with this in core?

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


More information about the wp-trac mailing list