{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/8","id":86646209,"html_url":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin/pull/8","diff_url":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin/pull/8.diff","patch_url":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin/pull/8.patch","issue_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues/8","number":8,"state":"open","locked":false,"title":"Update action.php","user":{"login":"cartoonist","id":1281559,"avatar_url":"https://avatars.githubusercontent.com/u/1281559?v=3","gravatar_id":"","url":"https://api.github.com/users/cartoonist","html_url":"https://github.com/cartoonist","followers_url":"https://api.github.com/users/cartoonist/followers","following_url":"https://api.github.com/users/cartoonist/following{/other_user}","gists_url":"https://api.github.com/users/cartoonist/gists{/gist_id}","starred_url":"https://api.github.com/users/cartoonist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartoonist/subscriptions","organizations_url":"https://api.github.com/users/cartoonist/orgs","repos_url":"https://api.github.com/users/cartoonist/repos","events_url":"https://api.github.com/users/cartoonist/events{/privacy}","received_events_url":"https://api.github.com/users/cartoonist/received_events","type":"User","site_admin":false},"body":"The base URL given by `getBaseUrl` and `path` given by `REQUEST_URI` from `$_SERVER` array both include DokuWiki directory (or `/` if it is installed in the root directory)[1] causing the resulting concatenation of these two has redundant directory part; e.g. assume that the DokuWiki is install in the `/dokuwiki/' directory of domain `example.com`. The resulting URL would be:\r\n\r\n    https://example.com/dokuwiki//dokuwiki/doku.php?id=start&do=login     # 404 not found\r\n\r\nor if it is installed in the root directory, the resulting URL would have redundant slashes which doesn't any harm:\r\n\r\n    https://example.com//doku.php?id=start&do=login\r\n\r\nRight trim the DokuWiki directory from the base URL would fix the problem.\r\n\r\n[1] https://xref.dokuwiki.org/reference/dokuwiki/nav.html?inc/init.php.source.html#l430","created_at":"2016-09-25T10:38:45Z","updated_at":"2016-09-25T10:38:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/8/commits","review_comments_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/8/comments","review_comment_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues/8/comments","statuses_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/statuses/623eec91078a893e519bd5403123ecdd2fa9e464","head":{"label":"cartoonist:patch-1","ref":"patch-1","sha":"623eec91078a893e519bd5403123ecdd2fa9e464","user":{"login":"cartoonist","id":1281559,"avatar_url":"https://avatars.githubusercontent.com/u/1281559?v=3","gravatar_id":"","url":"https://api.github.com/users/cartoonist","html_url":"https://github.com/cartoonist","followers_url":"https://api.github.com/users/cartoonist/followers","following_url":"https://api.github.com/users/cartoonist/following{/other_user}","gists_url":"https://api.github.com/users/cartoonist/gists{/gist_id}","starred_url":"https://api.github.com/users/cartoonist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartoonist/subscriptions","organizations_url":"https://api.github.com/users/cartoonist/orgs","repos_url":"https://api.github.com/users/cartoonist/repos","events_url":"https://api.github.com/users/cartoonist/events{/privacy}","received_events_url":"https://api.github.com/users/cartoonist/received_events","type":"User","site_admin":false},"repo":{"id":69157310,"name":"dokuwiki-plugin-forcessllogin","full_name":"cartoonist/dokuwiki-plugin-forcessllogin","owner":{"login":"cartoonist","id":1281559,"avatar_url":"https://avatars.githubusercontent.com/u/1281559?v=3","gravatar_id":"","url":"https://api.github.com/users/cartoonist","html_url":"https://github.com/cartoonist","followers_url":"https://api.github.com/users/cartoonist/followers","following_url":"https://api.github.com/users/cartoonist/following{/other_user}","gists_url":"https://api.github.com/users/cartoonist/gists{/gist_id}","starred_url":"https://api.github.com/users/cartoonist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cartoonist/subscriptions","organizations_url":"https://api.github.com/users/cartoonist/orgs","repos_url":"https://api.github.com/users/cartoonist/repos","events_url":"https://api.github.com/users/cartoonist/events{/privacy}","received_events_url":"https://api.github.com/users/cartoonist/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cartoonist/dokuwiki-plugin-forcessllogin","description":"https://www.dokuwiki.org/plugin:forcessllogin","fork":true,"url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin","forks_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/forks","keys_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/teams","hooks_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/hooks","issue_events_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/issues/events{/number}","events_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/events","assignees_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/assignees{/user}","branches_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/branches{/branch}","tags_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/tags","blobs_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/statuses/{sha}","languages_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/languages","stargazers_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/stargazers","contributors_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/contributors","subscribers_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/subscribers","subscription_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/subscription","commits_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/contents/{+path}","compare_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/merges","archive_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/downloads","issues_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/issues{/number}","pulls_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/pulls{/number}","milestones_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/milestones{/number}","notifications_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/labels{/name}","releases_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/releases{/id}","deployments_url":"https://api.github.com/repos/cartoonist/dokuwiki-plugin-forcessllogin/deployments","created_at":"2016-09-25T10:21:15Z","updated_at":"2016-09-25T10:21:17Z","pushed_at":"2016-09-25T10:36:37Z","git_url":"git://github.com/cartoonist/dokuwiki-plugin-forcessllogin.git","ssh_url":"git@github.com:cartoonist/dokuwiki-plugin-forcessllogin.git","clone_url":"https://github.com/cartoonist/dokuwiki-plugin-forcessllogin.git","svn_url":"https://github.com/cartoonist/dokuwiki-plugin-forcessllogin","homepage":null,"size":59,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"samfisch:master","ref":"master","sha":"2ec45ef598a78b3f7c7e94a41b224afd6d307605","user":{"login":"samfisch","id":139431,"avatar_url":"https://avatars.githubusercontent.com/u/139431?v=3","gravatar_id":"","url":"https://api.github.com/users/samfisch","html_url":"https://github.com/samfisch","followers_url":"https://api.github.com/users/samfisch/followers","following_url":"https://api.github.com/users/samfisch/following{/other_user}","gists_url":"https://api.github.com/users/samfisch/gists{/gist_id}","starred_url":"https://api.github.com/users/samfisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfisch/subscriptions","organizations_url":"https://api.github.com/users/samfisch/orgs","repos_url":"https://api.github.com/users/samfisch/repos","events_url":"https://api.github.com/users/samfisch/events{/privacy}","received_events_url":"https://api.github.com/users/samfisch/received_events","type":"User","site_admin":false},"repo":{"id":10018792,"name":"dokuwiki-plugin-forcessllogin","full_name":"samfisch/dokuwiki-plugin-forcessllogin","owner":{"login":"samfisch","id":139431,"avatar_url":"https://avatars.githubusercontent.com/u/139431?v=3","gravatar_id":"","url":"https://api.github.com/users/samfisch","html_url":"https://github.com/samfisch","followers_url":"https://api.github.com/users/samfisch/followers","following_url":"https://api.github.com/users/samfisch/following{/other_user}","gists_url":"https://api.github.com/users/samfisch/gists{/gist_id}","starred_url":"https://api.github.com/users/samfisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samfisch/subscriptions","organizations_url":"https://api.github.com/users/samfisch/orgs","repos_url":"https://api.github.com/users/samfisch/repos","events_url":"https://api.github.com/users/samfisch/events{/privacy}","received_events_url":"https://api.github.com/users/samfisch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin","description":"https://www.dokuwiki.org/plugin:forcessllogin","fork":false,"url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin","forks_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/forks","keys_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/teams","hooks_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/hooks","issue_events_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues/events{/number}","events_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/events","assignees_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/assignees{/user}","branches_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/branches{/branch}","tags_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/tags","blobs_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/git/refs{/sha}","trees_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/statuses/{sha}","languages_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/languages","stargazers_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/stargazers","contributors_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/contributors","subscribers_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/subscribers","subscription_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/subscription","commits_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/commits{/sha}","git_commits_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/git/commits{/sha}","comments_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/comments{/number}","issue_comment_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues/comments{/number}","contents_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/contents/{+path}","compare_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/merges","archive_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/downloads","issues_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues{/number}","pulls_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls{/number}","milestones_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/milestones{/number}","notifications_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/labels{/name}","releases_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/releases{/id}","deployments_url":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/deployments","created_at":"2013-05-12T20:05:25Z","updated_at":"2016-01-29T02:57:57Z","pushed_at":"2016-09-16T15:18:11Z","git_url":"git://github.com/samfisch/dokuwiki-plugin-forcessllogin.git","ssh_url":"git@github.com:samfisch/dokuwiki-plugin-forcessllogin.git","clone_url":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin.git","svn_url":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin","homepage":null,"size":59,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/8"},"html":{"href":"https://github.com/samfisch/dokuwiki-plugin-forcessllogin/pull/8"},"issue":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues/8"},"comments":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/samfisch/dokuwiki-plugin-forcessllogin/statuses/623eec91078a893e519bd5403123ecdd2fa9e464"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"cartoonist"}}