{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/5033","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/5033/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/5033/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/5033/events","html_url":"https://github.com/Homebrew/brew/pull/5033","id":366458847,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwMTI3Njkx","number":5033,"title":"Cask: complete Git-Jiro's HTTPS audit check","user":{"login":"amyspark","id":13498015,"node_id":"MDQ6VXNlcjEzNDk4MDE1","avatar_url":"https://avatars3.githubusercontent.com/u/13498015?v=4","gravatar_id":"","url":"https://api.github.com/users/amyspark","html_url":"https://github.com/amyspark","followers_url":"https://api.github.com/users/amyspark/followers","following_url":"https://api.github.com/users/amyspark/following{/other_user}","gists_url":"https://api.github.com/users/amyspark/gists{/gist_id}","starred_url":"https://api.github.com/users/amyspark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyspark/subscriptions","organizations_url":"https://api.github.com/users/amyspark/orgs","repos_url":"https://api.github.com/users/amyspark/repos","events_url":"https://api.github.com/users/amyspark/events{/privacy}","received_events_url":"https://api.github.com/users/amyspark/received_events","type":"User","site_admin":false},"labels":[{"id":576922522,"node_id":"MDU6TGFiZWw1NzY5MjI1MjI=","url":"https://api.github.com/repos/Homebrew/brew/labels/stale","name":"stale","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-03T18:01:11Z","updated_at":"2018-11-01T16:13:23Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/Homebrew/brew/pulls/5033","html_url":"https://github.com/Homebrew/brew/pull/5033","diff_url":"https://github.com/Homebrew/brew/pull/5033.diff","patch_url":"https://github.com/Homebrew/brew/pull/5033.patch"},"body":"- [X] Have you followed the guidelines in our [Contributing](https://github.com/Homebrew/brew/blob/master/CONTRIBUTING.md) document?\r\n- [X] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/Homebrew/brew/pulls) for the same change?\r\n- [X] Have you added an explanation of what your changes do and why you'd like us to include them?\r\n- [ ] Have you written new tests for your changes? [Here's an example](https://github.com/Homebrew/brew/blob/master/Library/Homebrew/test/PATH_spec.rb).\r\n- [X] Have you successfully run `brew style` with your changes locally?\r\n- [X] Have you successfully run `brew tests` with your changes locally?\r\n\r\n-----\r\n\r\nThis pull request aims to complete the missing bits from Git-Jiro's work in Homebrew/brew#3318, adding a check for HTTPS->HTTP redirection. I've tested @vitorgalvao's and @commitay's cases, and all work as they should.\r\n\r\n(Before I forget: the `--head` bit I added was to use just the headers instead of downloading the whole file, which is quite slow on my end. Let me know if it should be reverted.)\r\n\r\nFixes Homebrew/homebrew-cask#25403.\r\n\r\nThanks in advance for your reviews!"},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/435093912","html_url":"https://github.com/Homebrew/brew/pull/5033#issuecomment-435093912","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/5033","id":435093912,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTA5MzkxMg==","user":{"login":"amyspark","id":13498015,"node_id":"MDQ6VXNlcjEzNDk4MDE1","avatar_url":"https://avatars3.githubusercontent.com/u/13498015?v=4","gravatar_id":"","url":"https://api.github.com/users/amyspark","html_url":"https://github.com/amyspark","followers_url":"https://api.github.com/users/amyspark/followers","following_url":"https://api.github.com/users/amyspark/following{/other_user}","gists_url":"https://api.github.com/users/amyspark/gists{/gist_id}","starred_url":"https://api.github.com/users/amyspark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amyspark/subscriptions","organizations_url":"https://api.github.com/users/amyspark/orgs","repos_url":"https://api.github.com/users/amyspark/repos","events_url":"https://api.github.com/users/amyspark/events{/privacy}","received_events_url":"https://api.github.com/users/amyspark/received_events","type":"User","site_admin":false},"created_at":"2018-11-01T16:13:23Z","updated_at":"2018-11-01T16:13:23Z","author_association":"MEMBER","body":"Pinging @Homebrew/cask again to finish reviewing this."}}
{"actor":{"display_login":"amyspark"}}