Add tests for MemcachedBagOStuff::validateKeyEncoding
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Wed, 28 Oct 2015 15:26:37 +0000 (16:26 +0100)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Wed, 28 Oct 2015 17:12:35 +0000 (18:12 +0100)
commite6cf3aa0b3bc4c6200616e11aba7a0a0a3481d4c
tree91b17966c4e6af86028ec133dafdd3a578a8e562
parente05e4b111ce743727957ed7da162349864dd1cd3
Add tests for MemcachedBagOStuff::validateKeyEncoding

If3e20c6 and the following patches introduced a breaking change and
cause a regression in Wikibase because we are using the version number
constant as part of a cache key prefix. Currently the Wikibase version
is set to "0.5 alpha".

Space characters were allowed before and encoded as "%20". This does
not happen any more.

Change-Id: Ia2fd4ed6738a10e02050bced947ef5d4e8b98980
tests/phpunit/includes/objectcache/MemcachedBagOStuffTest.php