{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2170","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2170/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2170/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2170/events","html_url":"https://github.com/wp-cli/wp-cli/issues/2170","id":113117854,"number":2170,"title":"Installing/updating plugins via URL that don't have .zip in filename","user":{"login":"coreyworrell","id":162595,"avatar_url":"https://avatars.githubusercontent.com/u/162595?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyworrell","html_url":"https://github.com/coreyworrell","followers_url":"https://api.github.com/users/coreyworrell/followers","following_url":"https://api.github.com/users/coreyworrell/following{/other_user}","gists_url":"https://api.github.com/users/coreyworrell/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyworrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyworrell/subscriptions","organizations_url":"https://api.github.com/users/coreyworrell/orgs","repos_url":"https://api.github.com/users/coreyworrell/repos","events_url":"https://api.github.com/users/coreyworrell/events{/privacy}","received_events_url":"https://api.github.com/users/coreyworrell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/state:unconfirmed","name":"state:unconfirmed","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-23T23:44:52Z","updated_at":"2015-10-25T21:29:44Z","closed_at":"2015-10-25T19:36:11Z","body":"Seems to be an issue where wp-cli won't install or update a plugin via URL when using a \"dynamic\" URL that doesn't look like a .zip file URL, ie: http://site.com/download.php?file=blah&key=whatever"},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/150974844","html_url":"https://github.com/wp-cli/wp-cli/issues/2170#issuecomment-150974844","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/2170","id":150974844,"user":{"login":"coreyworrell","id":162595,"avatar_url":"https://avatars.githubusercontent.com/u/162595?v=3","gravatar_id":"","url":"https://api.github.com/users/coreyworrell","html_url":"https://github.com/coreyworrell","followers_url":"https://api.github.com/users/coreyworrell/followers","following_url":"https://api.github.com/users/coreyworrell/following{/other_user}","gists_url":"https://api.github.com/users/coreyworrell/gists{/gist_id}","starred_url":"https://api.github.com/users/coreyworrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreyworrell/subscriptions","organizations_url":"https://api.github.com/users/coreyworrell/orgs","repos_url":"https://api.github.com/users/coreyworrell/repos","events_url":"https://api.github.com/users/coreyworrell/events{/privacy}","received_events_url":"https://api.github.com/users/coreyworrell/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T21:29:44Z","updated_at":"2015-10-25T21:29:44Z","body":"> I'm not really convinced it should support downloading arbitrary URLs, and hoping they're zip archives. I think it's a reasonable assumption to inspect the extension.\r\n\r\nYou're excluding many external/commercial plugins with this though. And yes the workaround works manually, but when doing `wp plugin update --all` that plugin (like ACF Pro and many others) will always fail the update and require a manual wget and all. Updating WP-cli is much easier/better than convincing many plugin authors to change their perfectly valid URL structures. \r\n\r\nInstead of checking for `/` you could check for a `.` (period) instead. That will determine if it's a slug vs a url/path. None of the 1000s of WP plugins (https://plugins.svn.wordpress.org) have a period in their slug, and looks as if WP prevents that. "}}