[wp-meta] [Making WordPress.org] #1299: Some forum topics with long Cyrillic slugs cannot be opened

Making WordPress.org noreply at wordpress.org
Tue Jan 26 16:25:27 UTC 2016


#1299: Some forum topics with long Cyrillic slugs cannot be opened
-----------------------------+----------------------------------
  Reporter:  SergeyBiryukov  |      Owner:
      Type:  defect          |     Status:  new
  Priority:  normal          |  Component:  International Forums
Resolution:                  |   Keywords:
-----------------------------+----------------------------------

Comment (by ocean90):

 The reason for the redirects is that the slug is used as a cache key in
 `get_topic()` which exceeds the maximum memcached key size of 250 chars.

 The slug itself is already 250 chars:

 {{{
 string
 'cookies-%d0%b7%d0%b0%d0%b1%d0%bb%d0%be%d0%ba%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d1%8b-%d0%b8%d0%b7-%d0%b7%d0%b0-%d0%bd%d0%b5%d0%be%d0%b6%d0%b8%d0%b4%d0%b0%d0%bd%d0%bd%d0%be%d0%b3%d0%be-%d0%b2%d1%8b%d0%b2%d0%be%d0%b4%d0%b0-%d0%bd%d0%b0-%d1%8d%d0%ba-6'
 (length=250)
 }}}


 https://bbpress.trac.wordpress.org/browser/branches/1.0/bb-
 includes/functions.bb-topics.php?marks=10,34#L5

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1299#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list