{"action":"closed","number":268,"pull_request":{"url":"https://api.github.com/repos/neurodata/ndstore/pulls/268","id":68723864,"html_url":"https://github.com/neurodata/ndstore/pull/268","diff_url":"https://github.com/neurodata/ndstore/pull/268.diff","patch_url":"https://github.com/neurodata/ndstore/pull/268.patch","issue_url":"https://api.github.com/repos/neurodata/ndstore/issues/268","number":268,"state":"closed","locked":false,"title":"Added trailing slash to nduser paths","user":{"login":"tmbo","id":1098412,"avatar_url":"https://avatars.githubusercontent.com/u/1098412?v=3","gravatar_id":"","url":"https://api.github.com/users/tmbo","html_url":"https://github.com/tmbo","followers_url":"https://api.github.com/users/tmbo/followers","following_url":"https://api.github.com/users/tmbo/following{/other_user}","gists_url":"https://api.github.com/users/tmbo/gists{/gist_id}","starred_url":"https://api.github.com/users/tmbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmbo/subscriptions","organizations_url":"https://api.github.com/users/tmbo/orgs","repos_url":"https://api.github.com/users/tmbo/repos","events_url":"https://api.github.com/users/tmbo/events{/privacy}","received_events_url":"https://api.github.com/users/tmbo/received_events","type":"User","site_admin":false},"body":"When running locally without nginx, paths missing a trailing `/` lead to an automatic redirect (django default). During that redirect, the script prefix `/nd` gets prepended again which results in urls like `/nd/nd/nduser/projects/` which is invalid.\r\n\r\nThis PR fixes the issue by adding the trailing `/` to all `nduser` redirects. \r\n\r\nFurthermore, for the future one should consider to either remove the script prefix `FORCE_SCRIPT_NAME` or set `APPEND_SLASH` to `false`.","created_at":"2016-05-03T15:23:15Z","updated_at":"2016-05-19T00:28:16Z","closed_at":"2016-05-19T00:28:16Z","merged_at":"2016-05-19T00:28:16Z","merge_commit_sha":"f8c85f9f5f8450456c5c47e0d21c21433a3a67d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neurodata/ndstore/pulls/268/commits","review_comments_url":"https://api.github.com/repos/neurodata/ndstore/pulls/268/comments","review_comment_url":"https://api.github.com/repos/neurodata/ndstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neurodata/ndstore/issues/268/comments","statuses_url":"https://api.github.com/repos/neurodata/ndstore/statuses/fbdafd9b1480dd93788ebf0b87af572e83756492","head":{"label":"scalableminds:missing-slash","ref":"missing-slash","sha":"fbdafd9b1480dd93788ebf0b87af572e83756492","user":{"login":"scalableminds","id":1648557,"avatar_url":"https://avatars.githubusercontent.com/u/1648557?v=3","gravatar_id":"","url":"https://api.github.com/users/scalableminds","html_url":"https://github.com/scalableminds","followers_url":"https://api.github.com/users/scalableminds/followers","following_url":"https://api.github.com/users/scalableminds/following{/other_user}","gists_url":"https://api.github.com/users/scalableminds/gists{/gist_id}","starred_url":"https://api.github.com/users/scalableminds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalableminds/subscriptions","organizations_url":"https://api.github.com/users/scalableminds/orgs","repos_url":"https://api.github.com/users/scalableminds/repos","events_url":"https://api.github.com/users/scalableminds/events{/privacy}","received_events_url":"https://api.github.com/users/scalableminds/received_events","type":"Organization","site_admin":false},"repo":{"id":57399108,"name":"ndstore","full_name":"scalableminds/ndstore","owner":{"login":"scalableminds","id":1648557,"avatar_url":"https://avatars.githubusercontent.com/u/1648557?v=3","gravatar_id":"","url":"https://api.github.com/users/scalableminds","html_url":"https://github.com/scalableminds","followers_url":"https://api.github.com/users/scalableminds/followers","following_url":"https://api.github.com/users/scalableminds/following{/other_user}","gists_url":"https://api.github.com/users/scalableminds/gists{/gist_id}","starred_url":"https://api.github.com/users/scalableminds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalableminds/subscriptions","organizations_url":"https://api.github.com/users/scalableminds/orgs","repos_url":"https://api.github.com/users/scalableminds/repos","events_url":"https://api.github.com/users/scalableminds/events{/privacy}","received_events_url":"https://api.github.com/users/scalableminds/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scalableminds/ndstore","description":"code for storing neurodata images and image annotations","fork":true,"url":"https://api.github.com/repos/scalableminds/ndstore","forks_url":"https://api.github.com/repos/scalableminds/ndstore/forks","keys_url":"https://api.github.com/repos/scalableminds/ndstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scalableminds/ndstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scalableminds/ndstore/teams","hooks_url":"https://api.github.com/repos/scalableminds/ndstore/hooks","issue_events_url":"https://api.github.com/repos/scalableminds/ndstore/issues/events{/number}","events_url":"https://api.github.com/repos/scalableminds/ndstore/events","assignees_url":"https://api.github.com/repos/scalableminds/ndstore/assignees{/user}","branches_url":"https://api.github.com/repos/scalableminds/ndstore/branches{/branch}","tags_url":"https://api.github.com/repos/scalableminds/ndstore/tags","blobs_url":"https://api.github.com/repos/scalableminds/ndstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scalableminds/ndstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scalableminds/ndstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/scalableminds/ndstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scalableminds/ndstore/statuses/{sha}","languages_url":"https://api.github.com/repos/scalableminds/ndstore/languages","stargazers_url":"https://api.github.com/repos/scalableminds/ndstore/stargazers","contributors_url":"https://api.github.com/repos/scalableminds/ndstore/contributors","subscribers_url":"https://api.github.com/repos/scalableminds/ndstore/subscribers","subscription_url":"https://api.github.com/repos/scalableminds/ndstore/subscription","commits_url":"https://api.github.com/repos/scalableminds/ndstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/scalableminds/ndstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/scalableminds/ndstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/scalableminds/ndstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/scalableminds/ndstore/contents/{+path}","compare_url":"https://api.github.com/repos/scalableminds/ndstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scalableminds/ndstore/merges","archive_url":"https://api.github.com/repos/scalableminds/ndstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scalableminds/ndstore/downloads","issues_url":"https://api.github.com/repos/scalableminds/ndstore/issues{/number}","pulls_url":"https://api.github.com/repos/scalableminds/ndstore/pulls{/number}","milestones_url":"https://api.github.com/repos/scalableminds/ndstore/milestones{/number}","notifications_url":"https://api.github.com/repos/scalableminds/ndstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scalableminds/ndstore/labels{/name}","releases_url":"https://api.github.com/repos/scalableminds/ndstore/releases{/id}","deployments_url":"https://api.github.com/repos/scalableminds/ndstore/deployments","created_at":"2016-04-29T16:41:34Z","updated_at":"2016-04-29T16:41:36Z","pushed_at":"2016-05-17T15:29:13Z","git_url":"git://github.com/scalableminds/ndstore.git","ssh_url":"git@github.com:scalableminds/ndstore.git","clone_url":"https://github.com/scalableminds/ndstore.git","svn_url":"https://github.com/scalableminds/ndstore","homepage":"http://neurodata.io","size":45099,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"neurodata:microns","ref":"microns","sha":"81bf532d2b156a86985569a588ea76314703099a","user":{"login":"neurodata","id":13474594,"avatar_url":"https://avatars.githubusercontent.com/u/13474594?v=3","gravatar_id":"","url":"https://api.github.com/users/neurodata","html_url":"https://github.com/neurodata","followers_url":"https://api.github.com/users/neurodata/followers","following_url":"https://api.github.com/users/neurodata/following{/other_user}","gists_url":"https://api.github.com/users/neurodata/gists{/gist_id}","starred_url":"https://api.github.com/users/neurodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurodata/subscriptions","organizations_url":"https://api.github.com/users/neurodata/orgs","repos_url":"https://api.github.com/users/neurodata/repos","events_url":"https://api.github.com/users/neurodata/events{/privacy}","received_events_url":"https://api.github.com/users/neurodata/received_events","type":"Organization","site_admin":false},"repo":{"id":1606074,"name":"ndstore","full_name":"neurodata/ndstore","owner":{"login":"neurodata","id":13474594,"avatar_url":"https://avatars.githubusercontent.com/u/13474594?v=3","gravatar_id":"","url":"https://api.github.com/users/neurodata","html_url":"https://github.com/neurodata","followers_url":"https://api.github.com/users/neurodata/followers","following_url":"https://api.github.com/users/neurodata/following{/other_user}","gists_url":"https://api.github.com/users/neurodata/gists{/gist_id}","starred_url":"https://api.github.com/users/neurodata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neurodata/subscriptions","organizations_url":"https://api.github.com/users/neurodata/orgs","repos_url":"https://api.github.com/users/neurodata/repos","events_url":"https://api.github.com/users/neurodata/events{/privacy}","received_events_url":"https://api.github.com/users/neurodata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neurodata/ndstore","description":"code for storing neurodata images and image annotations","fork":false,"url":"https://api.github.com/repos/neurodata/ndstore","forks_url":"https://api.github.com/repos/neurodata/ndstore/forks","keys_url":"https://api.github.com/repos/neurodata/ndstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neurodata/ndstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neurodata/ndstore/teams","hooks_url":"https://api.github.com/repos/neurodata/ndstore/hooks","issue_events_url":"https://api.github.com/repos/neurodata/ndstore/issues/events{/number}","events_url":"https://api.github.com/repos/neurodata/ndstore/events","assignees_url":"https://api.github.com/repos/neurodata/ndstore/assignees{/user}","branches_url":"https://api.github.com/repos/neurodata/ndstore/branches{/branch}","tags_url":"https://api.github.com/repos/neurodata/ndstore/tags","blobs_url":"https://api.github.com/repos/neurodata/ndstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neurodata/ndstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neurodata/ndstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/neurodata/ndstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neurodata/ndstore/statuses/{sha}","languages_url":"https://api.github.com/repos/neurodata/ndstore/languages","stargazers_url":"https://api.github.com/repos/neurodata/ndstore/stargazers","contributors_url":"https://api.github.com/repos/neurodata/ndstore/contributors","subscribers_url":"https://api.github.com/repos/neurodata/ndstore/subscribers","subscription_url":"https://api.github.com/repos/neurodata/ndstore/subscription","commits_url":"https://api.github.com/repos/neurodata/ndstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/neurodata/ndstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/neurodata/ndstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/neurodata/ndstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/neurodata/ndstore/contents/{+path}","compare_url":"https://api.github.com/repos/neurodata/ndstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neurodata/ndstore/merges","archive_url":"https://api.github.com/repos/neurodata/ndstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neurodata/ndstore/downloads","issues_url":"https://api.github.com/repos/neurodata/ndstore/issues{/number}","pulls_url":"https://api.github.com/repos/neurodata/ndstore/pulls{/number}","milestones_url":"https://api.github.com/repos/neurodata/ndstore/milestones{/number}","notifications_url":"https://api.github.com/repos/neurodata/ndstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neurodata/ndstore/labels{/name}","releases_url":"https://api.github.com/repos/neurodata/ndstore/releases{/id}","deployments_url":"https://api.github.com/repos/neurodata/ndstore/deployments","created_at":"2011-04-12T20:21:22Z","updated_at":"2016-04-06T17:23:51Z","pushed_at":"2016-05-19T00:28:16Z","git_url":"git://github.com/neurodata/ndstore.git","ssh_url":"git@github.com:neurodata/ndstore.git","clone_url":"https://github.com/neurodata/ndstore.git","svn_url":"https://github.com/neurodata/ndstore","homepage":"http://neurodata.io","size":45105,"stargazers_count":27,"watchers_count":27,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":64,"forks":9,"open_issues":64,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/neurodata/ndstore/pulls/268"},"html":{"href":"https://github.com/neurodata/ndstore/pull/268"},"issue":{"href":"https://api.github.com/repos/neurodata/ndstore/issues/268"},"comments":{"href":"https://api.github.com/repos/neurodata/ndstore/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/neurodata/ndstore/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/neurodata/ndstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neurodata/ndstore/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/neurodata/ndstore/statuses/fbdafd9b1480dd93788ebf0b87af572e83756492"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kunallillaney","id":1380214,"avatar_url":"https://avatars.githubusercontent.com/u/1380214?v=3","gravatar_id":"","url":"https://api.github.com/users/kunallillaney","html_url":"https://github.com/kunallillaney","followers_url":"https://api.github.com/users/kunallillaney/followers","following_url":"https://api.github.com/users/kunallillaney/following{/other_user}","gists_url":"https://api.github.com/users/kunallillaney/gists{/gist_id}","starred_url":"https://api.github.com/users/kunallillaney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunallillaney/subscriptions","organizations_url":"https://api.github.com/users/kunallillaney/orgs","repos_url":"https://api.github.com/users/kunallillaney/repos","events_url":"https://api.github.com/users/kunallillaney/events{/privacy}","received_events_url":"https://api.github.com/users/kunallillaney/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":32,"deletions":32,"changed_files":1}}