{"action":"created","issue":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/5722","repository_url":"https://api.github.com/repos/ReactTraining/react-router","labels_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5722/labels{/name}","comments_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5722/comments","events_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5722/events","html_url":"https://github.com/ReactTraining/react-router/pull/5722","id":273243811,"number":5722,"title":"Use history.createLocation in <StaticRouter>","user":{"login":"pshrmn","id":1127037,"avatar_url":"https://avatars0.githubusercontent.com/u/1127037?v=4","gravatar_id":"","url":"https://api.github.com/users/pshrmn","html_url":"https://github.com/pshrmn","followers_url":"https://api.github.com/users/pshrmn/followers","following_url":"https://api.github.com/users/pshrmn/following{/other_user}","gists_url":"https://api.github.com/users/pshrmn/gists{/gist_id}","starred_url":"https://api.github.com/users/pshrmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pshrmn/subscriptions","organizations_url":"https://api.github.com/users/pshrmn/orgs","repos_url":"https://api.github.com/users/pshrmn/repos","events_url":"https://api.github.com/users/pshrmn/events{/privacy}","received_events_url":"https://api.github.com/users/pshrmn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-12T16:36:04Z","updated_at":"2018-03-05T17:07:36Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/ReactTraining/react-router/pulls/5722","html_url":"https://github.com/ReactTraining/react-router/pull/5722","diff_url":"https://github.com/ReactTraining/react-router/pull/5722.diff","patch_url":"https://github.com/ReactTraining/react-router/pull/5722.patch"},"body":"Currently, there is an inconsistency between the pseudo-history used by the `<StaticRouter>` and the histories created by the `history` package because the `history` package creates locations with decoded pathnames, while the pseudo-history does not. This PR updates the `<StaticRouter>` to use the `createLocation` function from the `history` package to ensure consistent decoding between `<StaticRouter>` and the other routers.\r\n\r\nFixes #5296. #5359 is also partially fixed by this, but that also includes `matchPath` tests which are outside the scope of this PR."},"comment":{"url":"https://api.github.com/repos/ReactTraining/react-router/issues/comments/370490322","html_url":"https://github.com/ReactTraining/react-router/pull/5722#issuecomment-370490322","issue_url":"https://api.github.com/repos/ReactTraining/react-router/issues/5722","id":370490322,"user":{"login":"timdorr","id":17882,"avatar_url":"https://avatars2.githubusercontent.com/u/17882?v=4","gravatar_id":"","url":"https://api.github.com/users/timdorr","html_url":"https://github.com/timdorr","followers_url":"https://api.github.com/users/timdorr/followers","following_url":"https://api.github.com/users/timdorr/following{/other_user}","gists_url":"https://api.github.com/users/timdorr/gists{/gist_id}","starred_url":"https://api.github.com/users/timdorr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdorr/subscriptions","organizations_url":"https://api.github.com/users/timdorr/orgs","repos_url":"https://api.github.com/users/timdorr/repos","events_url":"https://api.github.com/users/timdorr/events{/privacy}","received_events_url":"https://api.github.com/users/timdorr/received_events","type":"User","site_admin":false},"created_at":"2018-03-05T17:07:36Z","updated_at":"2018-03-05T17:07:36Z","author_association":"COLLABORATOR","body":"Do you have contributor commits turned on? I can try and help you out."}}
{"actor":{"display_login":"timdorr"}}