{"action":"created","issue":{"url":"https://api.github.com/repos/amcoder/curse_client/issues/6","repository_url":"https://api.github.com/repos/amcoder/curse_client","labels_url":"https://api.github.com/repos/amcoder/curse_client/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/amcoder/curse_client/issues/6/comments","events_url":"https://api.github.com/repos/amcoder/curse_client/issues/6/events","html_url":"https://github.com/amcoder/curse_client/issues/6","id":186866821,"number":6,"title":"'get_json' request fails when modname contains a single-quote","user":{"login":"birdspider","id":370960,"avatar_url":"https://avatars.githubusercontent.com/u/370960?v=3","gravatar_id":"","url":"https://api.github.com/users/birdspider","html_url":"https://github.com/birdspider","followers_url":"https://api.github.com/users/birdspider/followers","following_url":"https://api.github.com/users/birdspider/following{/other_user}","gists_url":"https://api.github.com/users/birdspider/gists{/gist_id}","starred_url":"https://api.github.com/users/birdspider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/birdspider/subscriptions","organizations_url":"https://api.github.com/users/birdspider/orgs","repos_url":"https://api.github.com/users/birdspider/repos","events_url":"https://api.github.com/users/birdspider/events{/privacy}","received_events_url":"https://api.github.com/users/birdspider/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-02T17:25:50Z","updated_at":"2016-11-11T05:18:48Z","closed_at":"2016-11-11T05:18:48Z","body":"While installing \"FTB Infinity Evolved\" works, the same with \"IanAnderson's Modpack\" does not.\r\nI suspect the \\' (single-quote) to be incorrectly encoded/sanitized and forcing the server into a 500.\r\n\r\nAny more info I can provide ?\r\n\r\n----\r\n\r\nWorks:\r\n```\r\ncurse install \"FTB Infinity Evolved\"\r\nLoading project information from curse\r\nInstalling FTB Infinity Evolved\r\nDownloading https://addons.cursecdn.com/files/2320/896/FTBInfinity-2.6.0-1.7.10.zip\r\n...\r\n```\r\n\r\nDoes not work:\r\n```\r\n~/test $ curse show \"IanAnderson's Modpack\"                         \r\nLoading project information from curse\r\nIanAnderson's Modpack\r\nSummary: A mix of the latest mods\r\nAuthors: iananderson\r\nUrl: https://mods.curse.com/modpacks/minecraft/244691-ianandersons-modpack\r\nCategories: Exploration, Extra Large, Magic, Multiplayer, Tech\r\nDownloads: 1918.0\r\nPopularity: 29.585500717163086\r\nFiles:\r\n/usr/lib/ruby/2.3.0/net/http/response.rb:120:in `error!': 500 \"Internal Server Error\" (Net::HTTPFatalError)\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/api.rb:59:in `get_json'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/api.rb:39:in `addon_files'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:45:in `block in addon_files'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:67:in `with_authentication'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:44:in `addon_files'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/cli.rb:34:in `show'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/exe/curse:5:in `<top (required)>'\r\n        from /home/<user>/.gem/ruby/2.3.0/bin/curse:23:in `load'\r\n        from /home/<user>/.gem/ruby/2.3.0/bin/curse:23:in `<main>'\r\n\r\n~/test $ curse install \"IanAnderson's Modpack\"\r\nLoading project information from curse\r\n/usr/lib/ruby/2.3.0/net/http/response.rb:120:in `error!': 500 \"Internal Server Error\" (Net::HTTPFatalError)\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/api.rb:59:in `get_json'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/api.rb:39:in `addon_files'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:45:in `block in addon_files'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:67:in `with_authentication'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:44:in `addon_files'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/installer.rb:37:in `find_file'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/installer.rb:8:in `install'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/client.rb:58:in `install'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/lib/curse_client/cli.rb:48:in `install'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'\r\n        from /home/<user>/.gem/ruby/2.3.0/gems/curse_client-0.1.2/exe/curse:5:in `<top (required)>'\r\n        from /home/<user>/.gem/ruby/2.3.0/bin/curse:23:in `load'\r\n        from /home/<user>/.gem/ruby/2.3.0/bin/curse:23:in `<main>\r\n```"},"comment":{"url":"https://api.github.com/repos/amcoder/curse_client/issues/comments/259883342","html_url":"https://github.com/amcoder/curse_client/issues/6#issuecomment-259883342","issue_url":"https://api.github.com/repos/amcoder/curse_client/issues/6","id":259883342,"user":{"login":"amcoder","id":1146006,"avatar_url":"https://avatars.githubusercontent.com/u/1146006?v=3","gravatar_id":"","url":"https://api.github.com/users/amcoder","html_url":"https://github.com/amcoder","followers_url":"https://api.github.com/users/amcoder/followers","following_url":"https://api.github.com/users/amcoder/following{/other_user}","gists_url":"https://api.github.com/users/amcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/amcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcoder/subscriptions","organizations_url":"https://api.github.com/users/amcoder/orgs","repos_url":"https://api.github.com/users/amcoder/repos","events_url":"https://api.github.com/users/amcoder/events{/privacy}","received_events_url":"https://api.github.com/users/amcoder/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T05:18:48Z","updated_at":"2016-11-11T05:18:48Z","body":"@birdspider This should be fixed now. It was a server issue, so you shouldn't have to update the client. Let me know if you still run into problems."}}
{"actor":{"display_login":"amcoder"}}