[buddypress-trac] [BuddyPress] #880: Unicode group name gets broken

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Jan 8 20:34:55 UTC 2011


#880: Unicode group name gets broken
----------------------+-------------------------
  Reporter:  dolugen  |      Owner:
      Type:  defect   |     Status:  new
  Priority:  minor    |  Milestone:  1.3
 Component:  Core     |    Version:
Resolution:           |   Keywords:  needs-patch
----------------------+-------------------------

Comment (by boonebgorges):

 The problem seems to happen when the slug gets run through the chain
 sanitize_title() -> sanitize_title_with_dashes() -> utf8_uri_encode(). The
 process of uri_encoding the non-Latin characters makes the slug very long.
 sanitize_title_with_dashes() limits the length of the converted slug to
 200 characters, but the 'slug' column in the BP groups table only allowed
 for 100 characters. As a result, some of the uri-encoded characters were
 getting cut off and made unreadable.

 Allowing the slug column to accept 200 characters fixes the problem.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/880#comment:6>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list