[wp-trac] [WordPress Trac] #44958: &nbsp character in title generates a permalink (and slug) with space

WordPress Trac noreply at wordpress.org
Tue Oct 3 20:46:28 UTC 2023


#44958: &nbsp character in title generates a permalink (and slug) with space
-------------------------------------------------+-------------------------
 Reporter:  ace2_heart                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  Permalinks                           |     Version:  4.8
 Severity:  major                                |  Resolution:
 Keywords:  needs-testing has-patch has-         |     Focuses:
  testing-info has-screenshots                   |
-------------------------------------------------+-------------------------

Comment (by oglekler):

 I checked all cases that are mentioned in the comment#11 and the patch is
 working as expected, but I cannot evaluate that these are all possible
 cases. This patch is preventing invisible symbols to be shown in the URL,
 and the most accurate way to test it would have been to copy-paste text
 from somewhere with this invisible symbols inside while having the whole
 list of these symbols.

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


More information about the wp-trac mailing list