[wp-trac] [WordPress Trac] #21013: Badly truncated slugs in posts with similar, long non-latin titles

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 20 06:04:26 UTC 2012


#21013: Badly truncated slugs in posts with similar, long non-latin titles
----------------------------------------+------------------
 Reporter:  nevma                       |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  3.5
Component:  Permalinks                  |     Version:  3.4
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+------------------

Comment (by SergeyBiryukov):

 As an alternative approach, we could attempt to truncate slugs without re-
 encoding.

 This allows 1 character longer slugs than the previous patches due to more
 accurate string handling, so the unit tests from [UT740] should be updated
 if [attachment:21013.5.patch] gets approved.

 [attachment:21013.6.patch] also handles 3-octet sequences.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21013#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list