{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker.github.io/issues/538","repository_url":"https://api.github.com/repos/docker/docker.github.io","labels_url":"https://api.github.com/repos/docker/docker.github.io/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker.github.io/issues/538/comments","events_url":"https://api.github.com/repos/docker/docker.github.io/issues/538/events","html_url":"https://github.com/docker/docker.github.io/issues/538","id":188698911,"number":538,"title":"bad redirection semantics","user":{"login":"gdevillele","id":939999,"avatar_url":"https://avatars.githubusercontent.com/u/939999?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevillele","html_url":"https://github.com/gdevillele","followers_url":"https://api.github.com/users/gdevillele/followers","following_url":"https://api.github.com/users/gdevillele/following{/other_user}","gists_url":"https://api.github.com/users/gdevillele/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevillele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevillele/subscriptions","organizations_url":"https://api.github.com/users/gdevillele/orgs","repos_url":"https://api.github.com/users/gdevillele/repos","events_url":"https://api.github.com/users/gdevillele/events{/privacy}","received_events_url":"https://api.github.com/users/gdevillele/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gdevillele","id":939999,"avatar_url":"https://avatars.githubusercontent.com/u/939999?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevillele","html_url":"https://github.com/gdevillele","followers_url":"https://api.github.com/users/gdevillele/followers","following_url":"https://api.github.com/users/gdevillele/following{/other_user}","gists_url":"https://api.github.com/users/gdevillele/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevillele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevillele/subscriptions","organizations_url":"https://api.github.com/users/gdevillele/orgs","repos_url":"https://api.github.com/users/gdevillele/repos","events_url":"https://api.github.com/users/gdevillele/events{/privacy}","received_events_url":"https://api.github.com/users/gdevillele/received_events","type":"User","site_admin":false},"assignees":[{"login":"gdevillele","id":939999,"avatar_url":"https://avatars.githubusercontent.com/u/939999?v=3","gravatar_id":"","url":"https://api.github.com/users/gdevillele","html_url":"https://github.com/gdevillele","followers_url":"https://api.github.com/users/gdevillele/followers","following_url":"https://api.github.com/users/gdevillele/following{/other_user}","gists_url":"https://api.github.com/users/gdevillele/gists{/gist_id}","starred_url":"https://api.github.com/users/gdevillele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdevillele/subscriptions","organizations_url":"https://api.github.com/users/gdevillele/orgs","repos_url":"https://api.github.com/users/gdevillele/repos","events_url":"https://api.github.com/users/gdevillele/events{/privacy}","received_events_url":"https://api.github.com/users/gdevillele/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-11-11T07:09:59Z","updated_at":"2016-11-11T20:04:17Z","closed_at":null,"body":"### Problem description\r\n\r\nWhen hitting redirections listed in frontmatter headers (like `/mackit/`), we are not getting a 301 HTTP Code.\r\nFrom my understanding, it should be the case.\r\nhttps://support.google.com/webmasters/answer/93633\r\n\r\n```shell\r\n$ curl -v https://docs.docker.com/mackit/\r\n*   Trying 52.84.24.231...\r\n* Connected to docs.docker.com (52.84.24.231) port 443 (#0)\r\n* TLS 1.2 connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\r\n* Server certificate: docs.docker.com\r\n* Server certificate: RapidSSL SHA256 CA - G3\r\n* Server certificate: GeoTrust Global CA\r\n> GET /mackit/ HTTP/1.1\r\n> Host: docs.docker.com\r\n> User-Agent: curl/7.43.0\r\n> Accept: */*\r\n>\r\n< HTTP/1.1 200 OK\r\n< Content-Type: text/html; charset=utf-8\r\n< Content-Length: 436\r\n< Connection: keep-alive\r\n< ETag: 47c5-1b4-58251905\r\n< Last-Modified: Fri, 11 Nov 2016 01:04:05 GMT\r\n< Server: WEBrick/1.3.1 (Ruby/2.3.1/2016-04-26)\r\n< Date: Fri, 11 Nov 2016 05:41:57 GMT\r\n< Cache-Control: max-age=600\r\n< Strict-Transport-Security: max-age=15768000\r\n< X-Cache: RefreshHit from cloudfront\r\n< Via: 1.1 8a78b675adb2cce925860f2fe4383e71.cloudfront.net (CloudFront)\r\n< X-Amz-Cf-Id: 5E2yIGA8JWo8ehdUO4d9RrWqppXkRFFzCthpyxZZkH2ElGtOB6-drg==\r\n<\r\n<!DOCTYPE html>\r\n<html lang=\"en-US\">\r\n<meta charset=\"utf-8\">\r\n<title>Redirecting…</title>\r\n<link rel=\"canonical\" href=\"https://docs.docker.com/docker-for-mac/\">\r\n<meta http-equiv=\"refresh\" content=\"0; url=https://docs.docker.com/docker-for-mac/\">\r\n<h1>Redirecting…</h1>\r\n<a href=\"https://docs.docker.com/docker-for-mac/\">Click here if you are not redirected.</a>\r\n<script>location=\"https://docs.docker.com/docker-for-mac/\"</script>\r\n</html>\r\n* Connection #0 to host docs.docker.com left intact\r\n```\r\n\r\n### Problem location\r\n\r\nAll paths listed under `redirect_from` in frontmatter headers, like `/mackit/`.\r\nhttps://docs.docker.com/mackit/\r\n\r\n### Project version(s) affected\r\n\r\ncurrent stable\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker.github.io/issues/comments/260043591","html_url":"https://github.com/docker/docker.github.io/issues/538#issuecomment-260043591","issue_url":"https://api.github.com/repos/docker/docker.github.io/issues/538","id":260043591,"user":{"login":"johndmulhausen","id":5439615,"avatar_url":"https://avatars.githubusercontent.com/u/5439615?v=3","gravatar_id":"","url":"https://api.github.com/users/johndmulhausen","html_url":"https://github.com/johndmulhausen","followers_url":"https://api.github.com/users/johndmulhausen/followers","following_url":"https://api.github.com/users/johndmulhausen/following{/other_user}","gists_url":"https://api.github.com/users/johndmulhausen/gists{/gist_id}","starred_url":"https://api.github.com/users/johndmulhausen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndmulhausen/subscriptions","organizations_url":"https://api.github.com/users/johndmulhausen/orgs","repos_url":"https://api.github.com/users/johndmulhausen/repos","events_url":"https://api.github.com/users/johndmulhausen/events{/privacy}","received_events_url":"https://api.github.com/users/johndmulhausen/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T20:04:17Z","updated_at":"2016-11-11T20:04:17Z","body":"This is a limitation of using Jekyll/WEBrick as a package -- for more info see here: https://superdevresources.com/redirects-jekyll-github-pages/\r\n\r\nThe good news is that 301s are not the end-all-be-all; the URLs we produce still have `canonical` and `refresh` tags that are ABSOLUTELY supported by search engines. \r\n\r\nI don't think there's much we can do about this without massively rethinking how the container image works, and I'm trying to step away from being concerned about that right now and focus on content. Any help would be appreciated on getting to a 301 world. "}}
{"actor":{"display_login":"johndmulhausen"}}