{"action":"created","issue":{"url":"https://api.github.com/repos/elm-community/elm-history/issues/9","repository_url":"https://api.github.com/repos/elm-community/elm-history","labels_url":"https://api.github.com/repos/elm-community/elm-history/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/elm-community/elm-history/issues/9/comments","events_url":"https://api.github.com/repos/elm-community/elm-history/issues/9/events","html_url":"https://github.com/elm-community/elm-history/pull/9","id":145020998,"number":9,"title":"Path signal returns the actual location.pathname","user":{"login":"sporto","id":1005498,"avatar_url":"https://avatars.githubusercontent.com/u/1005498?v=3","gravatar_id":"","url":"https://api.github.com/users/sporto","html_url":"https://github.com/sporto","followers_url":"https://api.github.com/users/sporto/followers","following_url":"https://api.github.com/users/sporto/following{/other_user}","gists_url":"https://api.github.com/users/sporto/gists{/gist_id}","starred_url":"https://api.github.com/users/sporto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sporto/subscriptions","organizations_url":"https://api.github.com/users/sporto/orgs","repos_url":"https://api.github.com/users/sporto/repos","events_url":"https://api.github.com/users/sporto/events{/privacy}","received_events_url":"https://api.github.com/users/sporto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-31T21:16:27Z","updated_at":"2016-03-31T21:28:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elm-community/elm-history/pulls/9","html_url":"https://github.com/elm-community/elm-history/pull/9","diff_url":"https://github.com/elm-community/elm-history/pull/9.diff","patch_url":"https://github.com/elm-community/elm-history/pull/9.patch"},"body":"At the moment if I do:\r\n\r\n```\r\nHistory.setPath(\"\")\r\n```\r\n\r\nI get `\"\"` through the `History.path` signal. \r\nWhat I expect is the actual `window.location.pathname`."},"comment":{"url":"https://api.github.com/repos/elm-community/elm-history/issues/comments/204136237","html_url":"https://github.com/elm-community/elm-history/pull/9#issuecomment-204136237","issue_url":"https://api.github.com/repos/elm-community/elm-history/issues/9","id":204136237,"user":{"login":"sporto","id":1005498,"avatar_url":"https://avatars.githubusercontent.com/u/1005498?v=3","gravatar_id":"","url":"https://api.github.com/users/sporto","html_url":"https://github.com/sporto","followers_url":"https://api.github.com/users/sporto/followers","following_url":"https://api.github.com/users/sporto/following{/other_user}","gists_url":"https://api.github.com/users/sporto/gists{/gist_id}","starred_url":"https://api.github.com/users/sporto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sporto/subscriptions","organizations_url":"https://api.github.com/users/sporto/orgs","repos_url":"https://api.github.com/users/sporto/repos","events_url":"https://api.github.com/users/sporto/events{/privacy}","received_events_url":"https://api.github.com/users/sporto/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T21:28:16Z","updated_at":"2016-03-31T21:28:16Z","body":"Unfortunately this removes being able to react to the query string, with this change you only get the pathname. Having the query string before was just a side effect of this signal taking the value passed by the user. A better solution is needed."}}