{"action":"created","issue":{"url":"https://api.github.com/repos/deis/deis/issues/3438","labels_url":"https://api.github.com/repos/deis/deis/issues/3438/labels{/name}","comments_url":"https://api.github.com/repos/deis/deis/issues/3438/comments","events_url":"https://api.github.com/repos/deis/deis/issues/3438/events","html_url":"https://github.com/deis/deis/issues/3438","id":67241762,"number":3438,"title":"bug(router) enforceHTTPS Redirects Improperly","user":{"login":"croemmich","id":498811,"avatar_url":"https://avatars.githubusercontent.com/u/498811?v=3","gravatar_id":"","url":"https://api.github.com/users/croemmich","html_url":"https://github.com/croemmich","followers_url":"https://api.github.com/users/croemmich/followers","following_url":"https://api.github.com/users/croemmich/following{/other_user}","gists_url":"https://api.github.com/users/croemmich/gists{/gist_id}","starred_url":"https://api.github.com/users/croemmich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/croemmich/subscriptions","organizations_url":"https://api.github.com/users/croemmich/orgs","repos_url":"https://api.github.com/users/croemmich/repos","events_url":"https://api.github.com/users/croemmich/events{/privacy}","received_events_url":"https://api.github.com/users/croemmich/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deis/deis/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/deis/deis/labels/router","name":"router","color":"bfdadc"}],"state":"closed","locked":false,"assignee":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/deis/deis/milestones/37","html_url":"https://github.com/deis/deis/milestones/v1.6","labels_url":"https://api.github.com/repos/deis/deis/milestones/37/labels","id":1003408,"number":37,"title":"v1.6","description":"","creator":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":14,"state":"open","created_at":"2015-03-03T04:27:19Z","updated_at":"2015-04-12T21:27:41Z","due_on":"2015-05-05T06:00:00Z","closed_at":null},"comments":8,"created_at":"2015-04-08T23:23:33Z","updated_at":"2015-04-13T12:44:02Z","closed_at":"2015-04-10T21:27:05Z","body":"After I updated to v1.5.0 enforceHTTPS is creating bogus redirects for non-https requests.\r\n\r\nHTTPS:\r\n```\r\n$ wget https://phpinfo.mydeis.com\r\n--2015-04-08 18:21:53--  https://phpinfo.mydeis.com/\r\nResolving phpinfo.mydeis.com... 104.200.23.83, 2600:3c00:1::68c8:1753\r\nConnecting to phpinfo.mydeis.com|104.200.23.83|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: unspecified [text/html]\r\nSaving to: 'index.html'\r\n\r\nindex.html              [ <=>                  ]   3.39K  --.-KB/s   in 0s     \r\n\r\n2015-04-08 18:21:53 (60.3 MB/s) - 'index.html' saved [3475]\r\n```\r\n\r\nHTTP:\r\n```\r\n$ wget http://phpinfo.mydeis.com\r\n--2015-04-08 18:17:45--  http://phpinfo.mydeis.com/\r\nResolving phpinfo.mydeis.com... 104.200.23.83, 2600:3c00:1::68c8:1753\r\nConnecting to phpinfo.mydeis.com|104.200.23.83|:80... connected.\r\nHTTP request sent, awaiting response... 301 Moved Permanently\r\nLocation: https://~^phpinfo\\.(?<domain>.+)$/ [following]\r\n--2015-04-08 18:17:46--  https://~%5Ephpinfo%5C.(/?%3Cdomain%3E.+)$/\r\nResolving ~^phpinfo\\\\.(... failed: nodename nor servname provided, or not known.\r\nwget: unable to resolve host address '~^phpinfo\\\\.('\r\n```\r\n\r\nI'll look in to and create a pull request if I find it, but won't have a ton of time this week."},"comment":{"url":"https://api.github.com/repos/deis/deis/issues/comments/92340062","html_url":"https://github.com/deis/deis/issues/3438#issuecomment-92340062","issue_url":"https://api.github.com/repos/deis/deis/issues/3438","id":92340062,"user":{"login":"mboersma","id":73019,"avatar_url":"https://avatars.githubusercontent.com/u/73019?v=3","gravatar_id":"","url":"https://api.github.com/users/mboersma","html_url":"https://github.com/mboersma","followers_url":"https://api.github.com/users/mboersma/followers","following_url":"https://api.github.com/users/mboersma/following{/other_user}","gists_url":"https://api.github.com/users/mboersma/gists{/gist_id}","starred_url":"https://api.github.com/users/mboersma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboersma/subscriptions","organizations_url":"https://api.github.com/users/mboersma/orgs","repos_url":"https://api.github.com/users/mboersma/repos","events_url":"https://api.github.com/users/mboersma/events{/privacy}","received_events_url":"https://api.github.com/users/mboersma/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T12:44:02Z","updated_at":"2015-04-13T12:44:02Z","body":"@croemmich excellent, thanks very much for following up on `enforceHTTPS` and verifying it works for you in v1.5.1."}}