{"action":"opened","number":1064,"pull_request":{"url":"https://api.github.com/repos/django/channels/pulls/1064","id":190743620,"html_url":"https://github.com/django/channels/pull/1064","diff_url":"https://github.com/django/channels/pull/1064.diff","patch_url":"https://github.com/django/channels/pull/1064.patch","issue_url":"https://api.github.com/repos/django/channels/issues/1064","number":1064,"state":"open","locked":false,"title":"Use FORCE_SCRIPT_NAME setting on AsgiHandler","user":{"login":"maribedran","id":252178,"avatar_url":"https://avatars1.githubusercontent.com/u/252178?v=4","gravatar_id":"","url":"https://api.github.com/users/maribedran","html_url":"https://github.com/maribedran","followers_url":"https://api.github.com/users/maribedran/followers","following_url":"https://api.github.com/users/maribedran/following{/other_user}","gists_url":"https://api.github.com/users/maribedran/gists{/gist_id}","starred_url":"https://api.github.com/users/maribedran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maribedran/subscriptions","organizations_url":"https://api.github.com/users/maribedran/orgs","repos_url":"https://api.github.com/users/maribedran/repos","events_url":"https://api.github.com/users/maribedran/events{/privacy}","received_events_url":"https://api.github.com/users/maribedran/received_events","type":"User","site_admin":false},"body":"The 'handle' method on AsgiHandler only veryfies the 'root_path' key of it's\r\n'scope', but it should first verify the FORCE_SCRIPT_NAME parameter from the\r\nproject's settings. It defines a prefix that precedes all urls and is used as\r\nthe value of the SCRIPT_NAME environment variable.\r\n\r\nThis parameter is used by the 'runserver' command, but not by the asgi\r\napplication, resulting on url's being resolved by django with false\r\npaths.","created_at":"2018-05-26T14:10:31Z","updated_at":"2018-05-26T14:10:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/django/channels/pulls/1064/commits","review_comments_url":"https://api.github.com/repos/django/channels/pulls/1064/comments","review_comment_url":"https://api.github.com/repos/django/channels/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django/channels/issues/1064/comments","statuses_url":"https://api.github.com/repos/django/channels/statuses/45e24514314c62de592375484653b80663ad9c57","head":{"label":"maribedran:bugfix/force-script-name","ref":"bugfix/force-script-name","sha":"45e24514314c62de592375484653b80663ad9c57","user":{"login":"maribedran","id":252178,"avatar_url":"https://avatars1.githubusercontent.com/u/252178?v=4","gravatar_id":"","url":"https://api.github.com/users/maribedran","html_url":"https://github.com/maribedran","followers_url":"https://api.github.com/users/maribedran/followers","following_url":"https://api.github.com/users/maribedran/following{/other_user}","gists_url":"https://api.github.com/users/maribedran/gists{/gist_id}","starred_url":"https://api.github.com/users/maribedran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maribedran/subscriptions","organizations_url":"https://api.github.com/users/maribedran/orgs","repos_url":"https://api.github.com/users/maribedran/repos","events_url":"https://api.github.com/users/maribedran/events{/privacy}","received_events_url":"https://api.github.com/users/maribedran/received_events","type":"User","site_admin":false},"repo":{"id":134944500,"name":"channels","full_name":"maribedran/channels","owner":{"login":"maribedran","id":252178,"avatar_url":"https://avatars1.githubusercontent.com/u/252178?v=4","gravatar_id":"","url":"https://api.github.com/users/maribedran","html_url":"https://github.com/maribedran","followers_url":"https://api.github.com/users/maribedran/followers","following_url":"https://api.github.com/users/maribedran/following{/other_user}","gists_url":"https://api.github.com/users/maribedran/gists{/gist_id}","starred_url":"https://api.github.com/users/maribedran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maribedran/subscriptions","organizations_url":"https://api.github.com/users/maribedran/orgs","repos_url":"https://api.github.com/users/maribedran/repos","events_url":"https://api.github.com/users/maribedran/events{/privacy}","received_events_url":"https://api.github.com/users/maribedran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maribedran/channels","description":"Developer-friendly asynchrony for Django","fork":true,"url":"https://api.github.com/repos/maribedran/channels","forks_url":"https://api.github.com/repos/maribedran/channels/forks","keys_url":"https://api.github.com/repos/maribedran/channels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maribedran/channels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maribedran/channels/teams","hooks_url":"https://api.github.com/repos/maribedran/channels/hooks","issue_events_url":"https://api.github.com/repos/maribedran/channels/issues/events{/number}","events_url":"https://api.github.com/repos/maribedran/channels/events","assignees_url":"https://api.github.com/repos/maribedran/channels/assignees{/user}","branches_url":"https://api.github.com/repos/maribedran/channels/branches{/branch}","tags_url":"https://api.github.com/repos/maribedran/channels/tags","blobs_url":"https://api.github.com/repos/maribedran/channels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maribedran/channels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maribedran/channels/git/refs{/sha}","trees_url":"https://api.github.com/repos/maribedran/channels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maribedran/channels/statuses/{sha}","languages_url":"https://api.github.com/repos/maribedran/channels/languages","stargazers_url":"https://api.github.com/repos/maribedran/channels/stargazers","contributors_url":"https://api.github.com/repos/maribedran/channels/contributors","subscribers_url":"https://api.github.com/repos/maribedran/channels/subscribers","subscription_url":"https://api.github.com/repos/maribedran/channels/subscription","commits_url":"https://api.github.com/repos/maribedran/channels/commits{/sha}","git_commits_url":"https://api.github.com/repos/maribedran/channels/git/commits{/sha}","comments_url":"https://api.github.com/repos/maribedran/channels/comments{/number}","issue_comment_url":"https://api.github.com/repos/maribedran/channels/issues/comments{/number}","contents_url":"https://api.github.com/repos/maribedran/channels/contents/{+path}","compare_url":"https://api.github.com/repos/maribedran/channels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maribedran/channels/merges","archive_url":"https://api.github.com/repos/maribedran/channels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maribedran/channels/downloads","issues_url":"https://api.github.com/repos/maribedran/channels/issues{/number}","pulls_url":"https://api.github.com/repos/maribedran/channels/pulls{/number}","milestones_url":"https://api.github.com/repos/maribedran/channels/milestones{/number}","notifications_url":"https://api.github.com/repos/maribedran/channels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maribedran/channels/labels{/name}","releases_url":"https://api.github.com/repos/maribedran/channels/releases{/id}","deployments_url":"https://api.github.com/repos/maribedran/channels/deployments","created_at":"2018-05-26T08:43:35Z","updated_at":"2018-05-26T08:43:37Z","pushed_at":"2018-05-26T14:09:55Z","git_url":"git://github.com/maribedran/channels.git","ssh_url":"git@github.com:maribedran/channels.git","clone_url":"https://github.com/maribedran/channels.git","svn_url":"https://github.com/maribedran/channels","homepage":"https://channels.readthedocs.io","size":1627,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"django:master","ref":"master","sha":"10deab25f79a4f10494064384b611f48780abe43","user":{"login":"django","id":27804,"avatar_url":"https://avatars2.githubusercontent.com/u/27804?v=4","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"repo":{"id":36818673,"name":"channels","full_name":"django/channels","owner":{"login":"django","id":27804,"avatar_url":"https://avatars2.githubusercontent.com/u/27804?v=4","gravatar_id":"","url":"https://api.github.com/users/django","html_url":"https://github.com/django","followers_url":"https://api.github.com/users/django/followers","following_url":"https://api.github.com/users/django/following{/other_user}","gists_url":"https://api.github.com/users/django/gists{/gist_id}","starred_url":"https://api.github.com/users/django/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django/subscriptions","organizations_url":"https://api.github.com/users/django/orgs","repos_url":"https://api.github.com/users/django/repos","events_url":"https://api.github.com/users/django/events{/privacy}","received_events_url":"https://api.github.com/users/django/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django/channels","description":"Developer-friendly asynchrony for Django","fork":false,"url":"https://api.github.com/repos/django/channels","forks_url":"https://api.github.com/repos/django/channels/forks","keys_url":"https://api.github.com/repos/django/channels/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django/channels/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django/channels/teams","hooks_url":"https://api.github.com/repos/django/channels/hooks","issue_events_url":"https://api.github.com/repos/django/channels/issues/events{/number}","events_url":"https://api.github.com/repos/django/channels/events","assignees_url":"https://api.github.com/repos/django/channels/assignees{/user}","branches_url":"https://api.github.com/repos/django/channels/branches{/branch}","tags_url":"https://api.github.com/repos/django/channels/tags","blobs_url":"https://api.github.com/repos/django/channels/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django/channels/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django/channels/git/refs{/sha}","trees_url":"https://api.github.com/repos/django/channels/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django/channels/statuses/{sha}","languages_url":"https://api.github.com/repos/django/channels/languages","stargazers_url":"https://api.github.com/repos/django/channels/stargazers","contributors_url":"https://api.github.com/repos/django/channels/contributors","subscribers_url":"https://api.github.com/repos/django/channels/subscribers","subscription_url":"https://api.github.com/repos/django/channels/subscription","commits_url":"https://api.github.com/repos/django/channels/commits{/sha}","git_commits_url":"https://api.github.com/repos/django/channels/git/commits{/sha}","comments_url":"https://api.github.com/repos/django/channels/comments{/number}","issue_comment_url":"https://api.github.com/repos/django/channels/issues/comments{/number}","contents_url":"https://api.github.com/repos/django/channels/contents/{+path}","compare_url":"https://api.github.com/repos/django/channels/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django/channels/merges","archive_url":"https://api.github.com/repos/django/channels/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django/channels/downloads","issues_url":"https://api.github.com/repos/django/channels/issues{/number}","pulls_url":"https://api.github.com/repos/django/channels/pulls{/number}","milestones_url":"https://api.github.com/repos/django/channels/milestones{/number}","notifications_url":"https://api.github.com/repos/django/channels/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django/channels/labels{/name}","releases_url":"https://api.github.com/repos/django/channels/releases{/id}","deployments_url":"https://api.github.com/repos/django/channels/deployments","created_at":"2015-06-03T17:16:20Z","updated_at":"2018-05-26T12:26:39Z","pushed_at":"2018-05-26T14:00:25Z","git_url":"git://github.com/django/channels.git","ssh_url":"git@github.com:django/channels.git","clone_url":"https://github.com/django/channels.git","svn_url":"https://github.com/django/channels","homepage":"https://channels.readthedocs.io","size":1626,"stargazers_count":2972,"watchers_count":2972,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":407,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":407,"open_issues":26,"watchers":2972,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/django/channels/pulls/1064"},"html":{"href":"https://github.com/django/channels/pull/1064"},"issue":{"href":"https://api.github.com/repos/django/channels/issues/1064"},"comments":{"href":"https://api.github.com/repos/django/channels/issues/1064/comments"},"review_comments":{"href":"https://api.github.com/repos/django/channels/pulls/1064/comments"},"review_comment":{"href":"https://api.github.com/repos/django/channels/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django/channels/pulls/1064/commits"},"statuses":{"href":"https://api.github.com/repos/django/channels/statuses/45e24514314c62de592375484653b80663ad9c57"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"maribedran"}}