{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/4788","repository_url":"https://api.github.com/repos/ipfs/go-ipfs","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/4788/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/4788/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/4788/events","html_url":"https://github.com/ipfs/go-ipfs/issues/4788","id":303149214,"number":4788,"title":"Support /ipfs/ absolute paths for gateway when Host header is set","user":{"login":"singpolyma","id":12770,"avatar_url":"https://avatars2.githubusercontent.com/u/12770?v=4","gravatar_id":"","url":"https://api.github.com/users/singpolyma","html_url":"https://github.com/singpolyma","followers_url":"https://api.github.com/users/singpolyma/followers","following_url":"https://api.github.com/users/singpolyma/following{/other_user}","gists_url":"https://api.github.com/users/singpolyma/gists{/gist_id}","starred_url":"https://api.github.com/users/singpolyma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singpolyma/subscriptions","organizations_url":"https://api.github.com/users/singpolyma/orgs","repos_url":"https://api.github.com/users/singpolyma/repos","events_url":"https://api.github.com/users/singpolyma/events{/privacy}","received_events_url":"https://api.github.com/users/singpolyma/received_events","type":"User","site_admin":false},"labels":[{"id":719162724,"url":"https://api.github.com/repos/ipfs/go-ipfs/labels/feature","name":"feature","color":"eba7f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-07T15:43:39Z","updated_at":"2018-03-12T21:06:39Z","closed_at":null,"author_association":"NONE","body":"#### Type:\r\nFeature\r\n\r\n#### Description:\r\n\r\nToday, when making a request to the HTTP gateway with `Host` header set, it does dnslink lookup and serves the content at that hash. This is great for hosting a website directly off IPFS. However, when I want to put links in my website to other content on IPFS, I want to use the correct `href=\"/ipfs/hash\"` style. When viewing content on a gateway this works, when viewing content with the IPFS-companion this works, but for a \"normal\" browser using my domain with Host header request to the gateway it results in an error (no link named ipfs)\r\n\r\nPlease allow /ipfs absolute paths to be resolved even when Host header is used. "},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/372462587","html_url":"https://github.com/ipfs/go-ipfs/issues/4788#issuecomment-372462587","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/4788","id":372462587,"user":{"login":"Stebalien","id":310393,"avatar_url":"https://avatars2.githubusercontent.com/u/310393?v=4","gravatar_id":"","url":"https://api.github.com/users/Stebalien","html_url":"https://github.com/Stebalien","followers_url":"https://api.github.com/users/Stebalien/followers","following_url":"https://api.github.com/users/Stebalien/following{/other_user}","gists_url":"https://api.github.com/users/Stebalien/gists{/gist_id}","starred_url":"https://api.github.com/users/Stebalien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stebalien/subscriptions","organizations_url":"https://api.github.com/users/Stebalien/orgs","repos_url":"https://api.github.com/users/Stebalien/repos","events_url":"https://api.github.com/users/Stebalien/events{/privacy}","received_events_url":"https://api.github.com/users/Stebalien/received_events","type":"User","site_admin":false},"created_at":"2018-03-12T21:06:39Z","updated_at":"2018-03-12T21:06:39Z","author_association":"CONTRIBUTOR","body":"This is a bit tricky as it would conflict with any `ipfs` directory inside the website itself. However, it would definitely be useful."}}
{"actor":{"display_login":"Stebalien"}}