{"action":"opened","issue":{"url":"https://api.github.com/repos/router5/router5/issues/8","labels_url":"https://api.github.com/repos/router5/router5/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/router5/router5/issues/8/comments","events_url":"https://api.github.com/repos/router5/router5/issues/8/events","html_url":"https://github.com/router5/router5/issues/8","id":96763828,"number":8,"title":"Usin defaultRoute path as /","user":{"login":"ismail-codar","id":282104,"avatar_url":"https://avatars.githubusercontent.com/u/282104?v=3","gravatar_id":"","url":"https://api.github.com/users/ismail-codar","html_url":"https://github.com/ismail-codar","followers_url":"https://api.github.com/users/ismail-codar/followers","following_url":"https://api.github.com/users/ismail-codar/following{/other_user}","gists_url":"https://api.github.com/users/ismail-codar/gists{/gist_id}","starred_url":"https://api.github.com/users/ismail-codar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismail-codar/subscriptions","organizations_url":"https://api.github.com/users/ismail-codar/orgs","repos_url":"https://api.github.com/users/ismail-codar/repos","events_url":"https://api.github.com/users/ismail-codar/events{/privacy}","received_events_url":"https://api.github.com/users/ismail-codar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T08:47:59Z","updated_at":"2015-07-23T08:47:59Z","closed_at":null,"body":"I am setting up my router like [{name: \"index\", path: \"/\"}, {name: \"test\", path: \"/test\"}.....], defaultRoute = 'index' and it not working right. If directly entering www.sitename.com/test router redirects www.sitename.com \r\n\r\n{name: \"index\", path: \"/index\"} is working good. But this time default page url displays form of www.sitename.com/index . \r\n\r\nBecause partialMatch function matches on path: \"/\" settings. https://github.com/router5/router5/blob/master/dist/browser/router5.js#L208 So..\r\n\r\n```javascript _urlMatch(\"/todomvc\", new RegExp('^' + \"\\/\"))``` returns {}\r\n```javascript_urlMatch(\"/todomvc\", new RegExp('^' + \"\\/index\"))``` returns null"}}