{"action":"opened","number":216,"pull_request":{"url":"https://api.github.com/repos/reach/router/pulls/216","id":235213516,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1MjEzNTE2","html_url":"https://github.com/reach/router/pull/216","diff_url":"https://github.com/reach/router/pull/216.diff","patch_url":"https://github.com/reach/router/pull/216.patch","issue_url":"https://api.github.com/repos/reach/router/issues/216","number":216,"state":"open","locked":false,"title":"fix: escape pathname in isCurrent check","user":{"login":"stefanprobst","id":20753323,"node_id":"MDQ6VXNlcjIwNzUzMzIz","avatar_url":"https://avatars0.githubusercontent.com/u/20753323?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanprobst","html_url":"https://github.com/stefanprobst","followers_url":"https://api.github.com/users/stefanprobst/followers","following_url":"https://api.github.com/users/stefanprobst/following{/other_user}","gists_url":"https://api.github.com/users/stefanprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanprobst/subscriptions","organizations_url":"https://api.github.com/users/stefanprobst/orgs","repos_url":"https://api.github.com/users/stefanprobst/repos","events_url":"https://api.github.com/users/stefanprobst/events{/privacy}","received_events_url":"https://api.github.com/users/stefanprobst/received_events","type":"User","site_admin":false},"body":"Currently, a location like `/über` is not recognized as active, because `location.pathname` is escaped, while `href` is not. This should fix it by first `encodeURI`ing `href`.","created_at":"2018-12-01T19:42:31Z","updated_at":"2018-12-01T19:42: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/reach/router/pulls/216/commits","review_comments_url":"https://api.github.com/repos/reach/router/pulls/216/comments","review_comment_url":"https://api.github.com/repos/reach/router/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reach/router/issues/216/comments","statuses_url":"https://api.github.com/repos/reach/router/statuses/dac86efc7a9e012b7377a062aa149602d529e1a1","head":{"label":"stefanprobst:fix-is-current","ref":"fix-is-current","sha":"dac86efc7a9e012b7377a062aa149602d529e1a1","user":{"login":"stefanprobst","id":20753323,"node_id":"MDQ6VXNlcjIwNzUzMzIz","avatar_url":"https://avatars0.githubusercontent.com/u/20753323?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanprobst","html_url":"https://github.com/stefanprobst","followers_url":"https://api.github.com/users/stefanprobst/followers","following_url":"https://api.github.com/users/stefanprobst/following{/other_user}","gists_url":"https://api.github.com/users/stefanprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanprobst/subscriptions","organizations_url":"https://api.github.com/users/stefanprobst/orgs","repos_url":"https://api.github.com/users/stefanprobst/repos","events_url":"https://api.github.com/users/stefanprobst/events{/privacy}","received_events_url":"https://api.github.com/users/stefanprobst/received_events","type":"User","site_admin":false},"repo":{"id":159935669,"node_id":"MDEwOlJlcG9zaXRvcnkxNTk5MzU2Njk=","name":"router","full_name":"stefanprobst/router","private":false,"owner":{"login":"stefanprobst","id":20753323,"node_id":"MDQ6VXNlcjIwNzUzMzIz","avatar_url":"https://avatars0.githubusercontent.com/u/20753323?v=4","gravatar_id":"","url":"https://api.github.com/users/stefanprobst","html_url":"https://github.com/stefanprobst","followers_url":"https://api.github.com/users/stefanprobst/followers","following_url":"https://api.github.com/users/stefanprobst/following{/other_user}","gists_url":"https://api.github.com/users/stefanprobst/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanprobst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanprobst/subscriptions","organizations_url":"https://api.github.com/users/stefanprobst/orgs","repos_url":"https://api.github.com/users/stefanprobst/repos","events_url":"https://api.github.com/users/stefanprobst/events{/privacy}","received_events_url":"https://api.github.com/users/stefanprobst/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stefanprobst/router","description":null,"fork":true,"url":"https://api.github.com/repos/stefanprobst/router","forks_url":"https://api.github.com/repos/stefanprobst/router/forks","keys_url":"https://api.github.com/repos/stefanprobst/router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefanprobst/router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefanprobst/router/teams","hooks_url":"https://api.github.com/repos/stefanprobst/router/hooks","issue_events_url":"https://api.github.com/repos/stefanprobst/router/issues/events{/number}","events_url":"https://api.github.com/repos/stefanprobst/router/events","assignees_url":"https://api.github.com/repos/stefanprobst/router/assignees{/user}","branches_url":"https://api.github.com/repos/stefanprobst/router/branches{/branch}","tags_url":"https://api.github.com/repos/stefanprobst/router/tags","blobs_url":"https://api.github.com/repos/stefanprobst/router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefanprobst/router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefanprobst/router/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefanprobst/router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefanprobst/router/statuses/{sha}","languages_url":"https://api.github.com/repos/stefanprobst/router/languages","stargazers_url":"https://api.github.com/repos/stefanprobst/router/stargazers","contributors_url":"https://api.github.com/repos/stefanprobst/router/contributors","subscribers_url":"https://api.github.com/repos/stefanprobst/router/subscribers","subscription_url":"https://api.github.com/repos/stefanprobst/router/subscription","commits_url":"https://api.github.com/repos/stefanprobst/router/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefanprobst/router/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefanprobst/router/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefanprobst/router/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefanprobst/router/contents/{+path}","compare_url":"https://api.github.com/repos/stefanprobst/router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefanprobst/router/merges","archive_url":"https://api.github.com/repos/stefanprobst/router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefanprobst/router/downloads","issues_url":"https://api.github.com/repos/stefanprobst/router/issues{/number}","pulls_url":"https://api.github.com/repos/stefanprobst/router/pulls{/number}","milestones_url":"https://api.github.com/repos/stefanprobst/router/milestones{/number}","notifications_url":"https://api.github.com/repos/stefanprobst/router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefanprobst/router/labels{/name}","releases_url":"https://api.github.com/repos/stefanprobst/router/releases{/id}","deployments_url":"https://api.github.com/repos/stefanprobst/router/deployments","created_at":"2018-12-01T11:00:33Z","updated_at":"2018-12-01T11:00:35Z","pushed_at":"2018-12-01T11:02:15Z","git_url":"git://github.com/stefanprobst/router.git","ssh_url":"git@github.com:stefanprobst/router.git","clone_url":"https://github.com/stefanprobst/router.git","svn_url":"https://github.com/stefanprobst/router","homepage":"https://reach.tech/router","size":1286,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reach:master","ref":"master","sha":"b60e6dd781d5d3a4bdaaf4de665649c0f6a7e78d","user":{"login":"reach","id":38740568,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NzQwNTY4","avatar_url":"https://avatars3.githubusercontent.com/u/38740568?v=4","gravatar_id":"","url":"https://api.github.com/users/reach","html_url":"https://github.com/reach","followers_url":"https://api.github.com/users/reach/followers","following_url":"https://api.github.com/users/reach/following{/other_user}","gists_url":"https://api.github.com/users/reach/gists{/gist_id}","starred_url":"https://api.github.com/users/reach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reach/subscriptions","organizations_url":"https://api.github.com/users/reach/orgs","repos_url":"https://api.github.com/users/reach/repos","events_url":"https://api.github.com/users/reach/events{/privacy}","received_events_url":"https://api.github.com/users/reach/received_events","type":"Organization","site_admin":false},"repo":{"id":134804788,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQ4MDQ3ODg=","name":"router","full_name":"reach/router","private":false,"owner":{"login":"reach","id":38740568,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NzQwNTY4","avatar_url":"https://avatars3.githubusercontent.com/u/38740568?v=4","gravatar_id":"","url":"https://api.github.com/users/reach","html_url":"https://github.com/reach","followers_url":"https://api.github.com/users/reach/followers","following_url":"https://api.github.com/users/reach/following{/other_user}","gists_url":"https://api.github.com/users/reach/gists{/gist_id}","starred_url":"https://api.github.com/users/reach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reach/subscriptions","organizations_url":"https://api.github.com/users/reach/orgs","repos_url":"https://api.github.com/users/reach/repos","events_url":"https://api.github.com/users/reach/events{/privacy}","received_events_url":"https://api.github.com/users/reach/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/reach/router","description":null,"fork":false,"url":"https://api.github.com/repos/reach/router","forks_url":"https://api.github.com/repos/reach/router/forks","keys_url":"https://api.github.com/repos/reach/router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reach/router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reach/router/teams","hooks_url":"https://api.github.com/repos/reach/router/hooks","issue_events_url":"https://api.github.com/repos/reach/router/issues/events{/number}","events_url":"https://api.github.com/repos/reach/router/events","assignees_url":"https://api.github.com/repos/reach/router/assignees{/user}","branches_url":"https://api.github.com/repos/reach/router/branches{/branch}","tags_url":"https://api.github.com/repos/reach/router/tags","blobs_url":"https://api.github.com/repos/reach/router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reach/router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reach/router/git/refs{/sha}","trees_url":"https://api.github.com/repos/reach/router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reach/router/statuses/{sha}","languages_url":"https://api.github.com/repos/reach/router/languages","stargazers_url":"https://api.github.com/repos/reach/router/stargazers","contributors_url":"https://api.github.com/repos/reach/router/contributors","subscribers_url":"https://api.github.com/repos/reach/router/subscribers","subscription_url":"https://api.github.com/repos/reach/router/subscription","commits_url":"https://api.github.com/repos/reach/router/commits{/sha}","git_commits_url":"https://api.github.com/repos/reach/router/git/commits{/sha}","comments_url":"https://api.github.com/repos/reach/router/comments{/number}","issue_comment_url":"https://api.github.com/repos/reach/router/issues/comments{/number}","contents_url":"https://api.github.com/repos/reach/router/contents/{+path}","compare_url":"https://api.github.com/repos/reach/router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reach/router/merges","archive_url":"https://api.github.com/repos/reach/router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reach/router/downloads","issues_url":"https://api.github.com/repos/reach/router/issues{/number}","pulls_url":"https://api.github.com/repos/reach/router/pulls{/number}","milestones_url":"https://api.github.com/repos/reach/router/milestones{/number}","notifications_url":"https://api.github.com/repos/reach/router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reach/router/labels{/name}","releases_url":"https://api.github.com/repos/reach/router/releases{/id}","deployments_url":"https://api.github.com/repos/reach/router/deployments","created_at":"2018-05-25T04:47:48Z","updated_at":"2018-12-01T19:06:51Z","pushed_at":"2018-11-21T17:50:48Z","git_url":"git://github.com/reach/router.git","ssh_url":"git@github.com:reach/router.git","clone_url":"https://github.com/reach/router.git","svn_url":"https://github.com/reach/router","homepage":"https://reach.tech/router","size":1284,"stargazers_count":4437,"watchers_count":4437,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":177,"mirror_url":null,"archived":false,"open_issues_count":101,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":177,"open_issues":101,"watchers":4437,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reach/router/pulls/216"},"html":{"href":"https://github.com/reach/router/pull/216"},"issue":{"href":"https://api.github.com/repos/reach/router/issues/216"},"comments":{"href":"https://api.github.com/repos/reach/router/issues/216/comments"},"review_comments":{"href":"https://api.github.com/repos/reach/router/pulls/216/comments"},"review_comment":{"href":"https://api.github.com/repos/reach/router/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reach/router/pulls/216/commits"},"statuses":{"href":"https://api.github.com/repos/reach/router/statuses/dac86efc7a9e012b7377a062aa149602d529e1a1"}},"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":3,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"stefanprobst"}}