Last modified: 2014-10-21 13:10:02 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68284, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66284 - Long message key page names cause memcached errors
Long message key page names cause memcached errors
Status: NEW
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-06 21:59 UTC by Aaron Schulz
Modified: 2014-10-21 13:10 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Aaron Schulz 2014-06-06 21:59:28 UTC
wikidatawiki: Memcached error for key "wikidatawiki:messages:-999.9_union_all_select_0x31303235343830303536,0x31303235343830303536,0x31303235343830303536,0x31303235343830303536,0x31303235343830303536,0x31303235343830303536,0x31303235343830303536,0x31303235343830303536,0x31303235343830303536--:hash" on server ":": A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
Comment 1 Niklas Laxström 2014-06-11 15:00:38 UTC
includes/cache/MessageCache.php:281:                    $hash = $this->mMemc->get( wfMemcKey( 'messages', $code, 'hash' ) );


The long parameter is supposed to be language code. It is a bit tricky to know what to accept here without breaking uselang=xyz use cases. Length check seems okay to add, perhaps 35 chars which is the expected maximum for language codes.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links