{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/17397","labels_url":"https://api.github.com/repos/owncloud/core/issues/17397/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/17397/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/17397/events","html_url":"https://github.com/owncloud/core/issues/17397","id":92975959,"number":17397,"title":"Memcached - Error - Invalid Keys","user":{"login":"ofriedrich","id":1267425,"avatar_url":"https://avatars.githubusercontent.com/u/1267425?v=3","gravatar_id":"","url":"https://api.github.com/users/ofriedrich","html_url":"https://github.com/ofriedrich","followers_url":"https://api.github.com/users/ofriedrich/followers","following_url":"https://api.github.com/users/ofriedrich/following{/other_user}","gists_url":"https://api.github.com/users/ofriedrich/gists{/gist_id}","starred_url":"https://api.github.com/users/ofriedrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ofriedrich/subscriptions","organizations_url":"https://api.github.com/users/ofriedrich/orgs","repos_url":"https://api.github.com/users/ofriedrich/repos","events_url":"https://api.github.com/users/ofriedrich/events{/privacy}","received_events_url":"https://api.github.com/users/ofriedrich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"DeepDiver1975","id":1005065,"avatar_url":"https://avatars.githubusercontent.com/u/1005065?v=3","gravatar_id":"","url":"https://api.github.com/users/DeepDiver1975","html_url":"https://github.com/DeepDiver1975","followers_url":"https://api.github.com/users/DeepDiver1975/followers","following_url":"https://api.github.com/users/DeepDiver1975/following{/other_user}","gists_url":"https://api.github.com/users/DeepDiver1975/gists{/gist_id}","starred_url":"https://api.github.com/users/DeepDiver1975/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeepDiver1975/subscriptions","organizations_url":"https://api.github.com/users/DeepDiver1975/orgs","repos_url":"https://api.github.com/users/DeepDiver1975/repos","events_url":"https://api.github.com/users/DeepDiver1975/events{/privacy}","received_events_url":"https://api.github.com/users/DeepDiver1975/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-next","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-next","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":0,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2015-09-03T12:52:16Z","due_on":null,"closed_at":null},"comments":15,"created_at":"2015-07-04T06:02:27Z","updated_at":"2015-09-07T07:53:37Z","closed_at":null,"body":"The memcache-extension of owncloud uses keys \"as they are\". This may result in errors in some cases (see example). A workaround could be, to hash keys. See lib/private/memcache/memcached.php\r\n\r\nTest example:\r\n```php\r\n<?php\r\n$key = 'octipkt3b48c/routemydomain.de#/mycloud/index.phpcore_ajax_public_preview{\"file\":\"\\/Bildschirmfoto 2015-06-05 um 14.17.15.png\",\"t\":\"QdKkVHMo7WfFA6r\",\"y\":1024,\"x\":1024}';\r\n$mc = new Memcached();\r\n$mc->addServer(\"127.0.0.1\", 11211);\r\n// This works\r\n$mc->set(hash('crc32', $key), 'MY TEST') or die (\"Failed to save data at Memcached server with hashed key\");\r\n// This does not work\r\n$mc->set($key, 'MY TEST') or die (\"Failed to save data at Memcached server without hashed key\");\r\n```"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/138219269","html_url":"https://github.com/owncloud/core/issues/17397#issuecomment-138219269","issue_url":"https://api.github.com/repos/owncloud/core/issues/17397","id":138219269,"user":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T07:53:37Z","updated_at":"2015-09-07T07:53:37Z","body":"@Xenopathic Yes, this was just a note to not forget what needs to be done if we want to move this way. Nothing we should care about now."}}