{"action":"created","issue":{"url":"https://api.github.com/repos/axel-download-accelerator/axel/issues/146","repository_url":"https://api.github.com/repos/axel-download-accelerator/axel","labels_url":"https://api.github.com/repos/axel-download-accelerator/axel/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/axel-download-accelerator/axel/issues/146/comments","events_url":"https://api.github.com/repos/axel-download-accelerator/axel/issues/146/events","html_url":"https://github.com/axel-download-accelerator/axel/pull/146","id":294748527,"number":146,"title":"Fix composition of relative URLs in redirections ","user":{"login":"xsyst","id":32597858,"avatar_url":"https://avatars2.githubusercontent.com/u/32597858?v=4","gravatar_id":"","url":"https://api.github.com/users/xsyst","html_url":"https://github.com/xsyst","followers_url":"https://api.github.com/users/xsyst/followers","following_url":"https://api.github.com/users/xsyst/following{/other_user}","gists_url":"https://api.github.com/users/xsyst/gists{/gist_id}","starred_url":"https://api.github.com/users/xsyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsyst/subscriptions","organizations_url":"https://api.github.com/users/xsyst/orgs","repos_url":"https://api.github.com/users/xsyst/repos","events_url":"https://api.github.com/users/xsyst/events{/privacy}","received_events_url":"https://api.github.com/users/xsyst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ismaell","id":426980,"avatar_url":"https://avatars2.githubusercontent.com/u/426980?v=4","gravatar_id":"","url":"https://api.github.com/users/ismaell","html_url":"https://github.com/ismaell","followers_url":"https://api.github.com/users/ismaell/followers","following_url":"https://api.github.com/users/ismaell/following{/other_user}","gists_url":"https://api.github.com/users/ismaell/gists{/gist_id}","starred_url":"https://api.github.com/users/ismaell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismaell/subscriptions","organizations_url":"https://api.github.com/users/ismaell/orgs","repos_url":"https://api.github.com/users/ismaell/repos","events_url":"https://api.github.com/users/ismaell/events{/privacy}","received_events_url":"https://api.github.com/users/ismaell/received_events","type":"User","site_admin":false},"assignees":[{"login":"ismaell","id":426980,"avatar_url":"https://avatars2.githubusercontent.com/u/426980?v=4","gravatar_id":"","url":"https://api.github.com/users/ismaell","html_url":"https://github.com/ismaell","followers_url":"https://api.github.com/users/ismaell/followers","following_url":"https://api.github.com/users/ismaell/following{/other_user}","gists_url":"https://api.github.com/users/ismaell/gists{/gist_id}","starred_url":"https://api.github.com/users/ismaell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismaell/subscriptions","organizations_url":"https://api.github.com/users/ismaell/orgs","repos_url":"https://api.github.com/users/ismaell/repos","events_url":"https://api.github.com/users/ismaell/events{/privacy}","received_events_url":"https://api.github.com/users/ismaell/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-06T12:53:13Z","updated_at":"2018-02-11T15:29:40Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/axel-download-accelerator/axel/pulls/146","html_url":"https://github.com/axel-download-accelerator/axel/pull/146","diff_url":"https://github.com/axel-download-accelerator/axel/pull/146.diff","patch_url":"https://github.com/axel-download-accelerator/axel/pull/146.patch"},"body":"Fixes: [Issue #144](https://github.com/axel-download-accelerator/axel/issues/144)\r\n\r\nThe issue seems to be axel appending the redirected path to the complete\r\nurl of the previous request instead of just the hostname. This has been\r\nfixed in this commit\r\n\r\n**Bug Example:**\r\nRequest Header by Axel:\r\n```\r\nGET /download/2.0.1/tarball/ HTTP/1.0\r\nHost: www.djangoproject.com\r\nAccept: */*\r\nRange: bytes=1-\r\nUser-Agent: Axel/2.16.1 (Linux)\r\n```\r\nResponse Header:\r\n```\r\nHTTP/1.1 301 Moved Permanently\r\nServer: nginx\r\nDate: Tue, 06 Feb 2018 09:39:45 GMT\r\nContent-Type: text/html; charset=utf-8\r\nContent-Length: 0\r\nConnection: close\r\nContent-Language: en\r\nLocation: /m/releases/2.0/Django-2.0.1.tar.gz\r\n```\r\nRequest to Redirected URL by Axel:\r\n```\r\nGET /download/2.0.1/tarball//m/releases/2.0/Django-2.0.1.tar.gz HTTP/1.0\r\nHost: www.djangoproject.com\r\nAccept: */*\r\nRange: bytes=1-\r\nUser-Agent: Axel/2.16.1 (Linux)\r\n```"},"comment":{"url":"https://api.github.com/repos/axel-download-accelerator/axel/issues/comments/364759969","html_url":"https://github.com/axel-download-accelerator/axel/pull/146#issuecomment-364759969","issue_url":"https://api.github.com/repos/axel-download-accelerator/axel/issues/146","id":364759969,"user":{"login":"xsyst","id":32597858,"avatar_url":"https://avatars2.githubusercontent.com/u/32597858?v=4","gravatar_id":"","url":"https://api.github.com/users/xsyst","html_url":"https://github.com/xsyst","followers_url":"https://api.github.com/users/xsyst/followers","following_url":"https://api.github.com/users/xsyst/following{/other_user}","gists_url":"https://api.github.com/users/xsyst/gists{/gist_id}","starred_url":"https://api.github.com/users/xsyst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsyst/subscriptions","organizations_url":"https://api.github.com/users/xsyst/orgs","repos_url":"https://api.github.com/users/xsyst/repos","events_url":"https://api.github.com/users/xsyst/events{/privacy}","received_events_url":"https://api.github.com/users/xsyst/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T15:29:40Z","updated_at":"2018-02-11T15:29:40Z","author_association":"NONE","body":"@ismaell i have made the necessary changes to the commit message. Please review my pull request."}}
{"actor":{"display_login":"xsyst"}}