{"action":"opened","issue":{"url":"https://api.github.com/repos/rails/rails/issues/33201","repository_url":"https://api.github.com/repos/rails/rails","labels_url":"https://api.github.com/repos/rails/rails/issues/33201/labels{/name}","comments_url":"https://api.github.com/repos/rails/rails/issues/33201/comments","events_url":"https://api.github.com/repos/rails/rails/issues/33201/events","html_url":"https://github.com/rails/rails/issues/33201","id":335112430,"node_id":"MDU6SXNzdWUzMzUxMTI0MzA=","number":33201,"title":"invalid %-encoding in Rails.cache.delete_matched","user":{"login":"bnymn","id":3506402,"node_id":"MDQ6VXNlcjM1MDY0MDI=","avatar_url":"https://avatars2.githubusercontent.com/u/3506402?v=4","gravatar_id":"","url":"https://api.github.com/users/bnymn","html_url":"https://github.com/bnymn","followers_url":"https://api.github.com/users/bnymn/followers","following_url":"https://api.github.com/users/bnymn/following{/other_user}","gists_url":"https://api.github.com/users/bnymn/gists{/gist_id}","starred_url":"https://api.github.com/users/bnymn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnymn/subscriptions","organizations_url":"https://api.github.com/users/bnymn/orgs","repos_url":"https://api.github.com/users/bnymn/repos","events_url":"https://api.github.com/users/bnymn/events{/privacy}","received_events_url":"https://api.github.com/users/bnymn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-23T16:16:28Z","updated_at":"2018-06-23T16:16:28Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\n1. Create a new rails app `rails _4.2.10_ new test-app`\r\n2. Run the following command to regenerate the situation\r\n```\r\nmkdir -p tmp/cache/1FA/102/views%2Fid%2F370418%2Fslug%2Ftalat-bulut-b-planimiz-da-c-planimiz-da-var%2Ftitle%2FTalat+Bulut%3A+B+plan%C4%B1m%C4%B1z+da%2C+C+plan%C4%B1m%C4%B1z+da+var%2Fsummary%2FYasak+Elma%E2%80%99n%C4%B1n+ba%C5%9Frol+oyuncusu+Talat+Bulut%E2/%80%99un+%2862%29+kost%C3%BCm+asistan%C4%B1+%C3%96zge+%C5%9Eim%C5%9Fek%E2%80%99i+%2819%29+taciz+etti%C4%9Fi+iddia+edilmi%C5%9Fti.+Atat%C3%BCrk+Havaliman%C4%B1%E2%80%99nda+g%C3%B6r%C3%BCnt%C3%BClenen+Talat+Bulut+%2C+ya%C5%9Fad%C4/%B1klar%C4%B1n%C4%B1+troll+s...%2Fimage_normal%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%2F418%2Fnormal%2F370418.jpeg%2Fimage_small%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%/2F418%2Fsmall%2F370418.jpeg%2Fimage_thumb%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%2F418%2Fthumb%2F370418.jpeg%2Fpublished_at%2F0%2F44%2F11%2F18%2F6%2F2018%2F1%2F169%2Ffalse%2F%2B03%2Fupdated_at%2F40%\r\n```\r\n\r\n```\r\ntouch tmp/cache/1FA/102/views%2Fid%2F370418%2Fslug%2Ftalat-bulut-b-planimiz-da-c-planimiz-da-var%2Ftitle%2FTalat+Bulut%3A+B+plan%C4%B1m%C4%B1z+da%2C+C+plan%C4%B1m%C4%B1z+da+var%2Fsummary%2FYasak+Elma%E2%80%99n%C4%B1n+ba%C5%9Frol+oyuncusu+Talat+Bulut%E2/%80%99un+%2862%29+kost%C3%BCm+asistan%C4%B1+%C3%96zge+%C5%9Eim%C5%9Fek%E2%80%99i+%2819%29+taciz+etti%C4%9Fi+iddia+edilmi%C5%9Fti.+Atat%C3%BCrk+Havaliman%C4%B1%E2%80%99nda+g%C3%B6r%C3%BCnt%C3%BClenen+Talat+Bulut+%2C+ya%C5%9Fad%C4/%B1klar%C4%B1n%C4%B1+troll+s...%2Fimage_normal%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%2F418%2Fnormal%2F370418.jpeg%2Fimage_small%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%/2F418%2Fsmall%2F370418.jpeg%2Fimage_thumb%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%2F418%2Fthumb%2F370418.jpeg%2Fpublished_at%2F0%2F44%2F11%2F18%2F6%2F2018%2F1%2F169%2Ffalse%2F%2B03%2Fupdated_at%2F40%/2F44%2F12%2F18%2F6%2F2018%2F1%2F169%2Ffalse%2F%2B03%2F1%2Faa19fe7a59389a2a8e7545e8bfcaa87e\r\n```\r\n\r\n3. Run rails console `bin/rails c`\r\n4. Run `Rails.cache.delete_matched('*')` in the rails console.\r\n\r\n### Expected behavior\r\nMatched caches should be deleted.\r\n\r\n### Actual behavior\r\nExeption thrown.\r\n```\r\nTraceback (most recent call last):\r\n       16: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:166:in `block in search_dir'\r\n       15: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `search_dir'\r\n       14: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `foreach'\r\n       13: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:166:in `block in search_dir'\r\n       12: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `search_dir'\r\n       11: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `foreach'\r\n       10: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:166:in `block in search_dir'\r\n        9: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `search_dir'\r\n        8: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `foreach'\r\n        7: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:166:in `block in search_dir'\r\n        6: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `search_dir'\r\n        5: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:162:in `foreach'\r\n        4: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:168:in `block in search_dir'\r\n        3: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:61:in `block (2 levels) in delete_matched'\r\n        2: from /home/home/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/cache/file_store.rb:143:in `file_path_key'\r\n        1: from /home/home/.rbenv/versions/2.5.1/lib/ruby/2.5.0/uri/common.rb:393:in `decode_www_form_component'\r\nArgumentError (invalid %-encoding (%80%99un+%2862%29+kost%C3%BCm+asistan%C4%B1+%C3%96zge+%C5%9Eim%C5%9Fek%E2%80%99i+%2819%29+taciz+etti%C4%9Fi+iddia+edilmi%C5%9Fti.+Atat%C3%BCrk+Havaliman%C4%B1%E2%80%99nda+g%C3%B6r%C3%BCnt%C3%BClenen+Talat+Bulut+%2C+ya%C5%9Fad%C4/%B1klar%C4%B1n%C4%B1+troll+s...%2Fimage_normal%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%2F418%2Fnormal%2F370418.jpeg%2Fimage_small%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%/2F418%2Fsmall%2F370418.jpeg%2Fimage_thumb%2Fhttp%3A%2F%2Flocalhost%3A3000%2Fsystem%2Fnews%2Fimages%2F000%2F370%2F418%2Fthumb%2F370418.jpeg%2Fpublished_at%2F0%2F44%2F11%2F18%2F6%2F2018%2F1%2F169%2Ffalse%2F%2B03%2Fupdated_at%2F40%/2F44%2F12%2F18%2F6%2F2018%2F1%2F169%2Ffalse%2F%2B03%2F1%2Faa19fe7a59389a2a8e7545e8bfcaa87e))\r\n```\r\n\r\n### System configuration\r\n**Rails version**: 4.2.10\r\n\r\n**Ruby version**: 2.3.1"}}
{"actor":{"display_login":"bnymn"}}