{"action":"created","issue":{"url":"https://api.github.com/repos/mattdesl/budo/issues/150","repository_url":"https://api.github.com/repos/mattdesl/budo","labels_url":"https://api.github.com/repos/mattdesl/budo/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/mattdesl/budo/issues/150/comments","events_url":"https://api.github.com/repos/mattdesl/budo/issues/150/events","html_url":"https://github.com/mattdesl/budo/issues/150","id":149163636,"number":150,"title":"Pushstate routes with a decimal are treated as file names","user":{"login":"BrendanNeufeld","id":2735051,"avatar_url":"https://avatars.githubusercontent.com/u/2735051?v=3","gravatar_id":"","url":"https://api.github.com/users/BrendanNeufeld","html_url":"https://github.com/BrendanNeufeld","followers_url":"https://api.github.com/users/BrendanNeufeld/followers","following_url":"https://api.github.com/users/BrendanNeufeld/following{/other_user}","gists_url":"https://api.github.com/users/BrendanNeufeld/gists{/gist_id}","starred_url":"https://api.github.com/users/BrendanNeufeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrendanNeufeld/subscriptions","organizations_url":"https://api.github.com/users/BrendanNeufeld/orgs","repos_url":"https://api.github.com/users/BrendanNeufeld/repos","events_url":"https://api.github.com/users/BrendanNeufeld/events{/privacy}","received_events_url":"https://api.github.com/users/BrendanNeufeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-04-18T14:15:23Z","updated_at":"2016-11-21T08:25:02Z","closed_at":null,"body":"I am trying to use coordinates as a route. `pushstate=true` works for all other routes except these coordinate routes. It appears that the server thinks these are file names. I am not sure how budo would distinguish between 'actual' files and routes though. There might need to be a setting or some kind of condition,  similar to mod_rewrite. \n"},"comment":{"url":"https://api.github.com/repos/mattdesl/budo/issues/comments/261873145","html_url":"https://github.com/mattdesl/budo/issues/150#issuecomment-261873145","issue_url":"https://api.github.com/repos/mattdesl/budo/issues/150","id":261873145,"user":{"login":"mantoni","id":332271,"avatar_url":"https://avatars.githubusercontent.com/u/332271?v=3","gravatar_id":"","url":"https://api.github.com/users/mantoni","html_url":"https://github.com/mantoni","followers_url":"https://api.github.com/users/mantoni/followers","following_url":"https://api.github.com/users/mantoni/following{/other_user}","gists_url":"https://api.github.com/users/mantoni/gists{/gist_id}","starred_url":"https://api.github.com/users/mantoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantoni/subscriptions","organizations_url":"https://api.github.com/users/mantoni/orgs","repos_url":"https://api.github.com/users/mantoni/repos","events_url":"https://api.github.com/users/mantoni/events{/privacy}","received_events_url":"https://api.github.com/users/mantoni/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T08:25:02Z","updated_at":"2016-11-21T08:25:02Z","body":"The underlying issue with this is with the way [connect-pushstate handles filenames](https://github.com/brentertz/connect-pushstate/issues/1). I've [suggested a fix](https://github.com/brentertz/connect-pushstate/pull/2) and @brentertz is also [working on a new option](https://github.com/brentertz/connect-pushstate/tree/disallow) to help address this. In my case, both of the above linked solutions work with budo if I pass options to `connect-pushstate` and set `allow` to `\\\\.[a-z]+$` or `disallow` to `[\\\\.0-9]+$`.\r\n\r\nHowever, both solutions require options to be passed down to `connect-pushstate`. Now my question is, would @mattdesl accept a pull request with a new option called `--pushstate-disallow exp` which activates `--pushstate` and passes the given expression as the `disallow` option to `connect-pushstate`? The same could be done with `--pushstate-allow exp` for the `allow` option."}}
{"actor":{"display_login":"mantoni"}}