{"action":"created","issue":{"url":"https://api.github.com/repos/mlaphp/mlaphp/issues/1","labels_url":"https://api.github.com/repos/mlaphp/mlaphp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mlaphp/mlaphp/issues/1/comments","events_url":"https://api.github.com/repos/mlaphp/mlaphp/issues/1/events","html_url":"https://github.com/mlaphp/mlaphp/issues/1","id":50438775,"number":1,"title":"Router match method always returns false","user":{"login":"blrobin2","id":398030,"avatar_url":"https://avatars.githubusercontent.com/u/398030?v=3","gravatar_id":"","url":"https://api.github.com/users/blrobin2","html_url":"https://github.com/blrobin2","followers_url":"https://api.github.com/users/blrobin2/followers","following_url":"https://api.github.com/users/blrobin2/following{/other_user}","gists_url":"https://api.github.com/users/blrobin2/gists{/gist_id}","starred_url":"https://api.github.com/users/blrobin2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blrobin2/subscriptions","organizations_url":"https://api.github.com/users/blrobin2/orgs","repos_url":"https://api.github.com/users/blrobin2/repos","events_url":"https://api.github.com/users/blrobin2/events{/privacy}","received_events_url":"https://api.github.com/users/blrobin2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-29T22:03:21Z","updated_at":"2015-03-03T05:01:10Z","closed_at":null,"body":"On line 229, there is a check whether the path on the file matches the file path, but it seems to strip away too much of the path to check, as when I stepped through it, it ended up comparing '/' to the actual path, which of course is false. I'm not sure if I'm not defining my path correctly (it seems to look fine right up to this point), but I can remove that check and everything works fine.\r\n\r\nI'm working on a WAMP setup right now, so I don't know if that affects things or not..."},"comment":{"url":"https://api.github.com/repos/mlaphp/mlaphp/issues/comments/76887586","html_url":"https://github.com/mlaphp/mlaphp/issues/1#issuecomment-76887586","issue_url":"https://api.github.com/repos/mlaphp/mlaphp/issues/1","id":76887586,"user":{"login":"redbeardcreator","id":375927,"avatar_url":"https://avatars.githubusercontent.com/u/375927?v=3","gravatar_id":"","url":"https://api.github.com/users/redbeardcreator","html_url":"https://github.com/redbeardcreator","followers_url":"https://api.github.com/users/redbeardcreator/followers","following_url":"https://api.github.com/users/redbeardcreator/following{/other_user}","gists_url":"https://api.github.com/users/redbeardcreator/gists{/gist_id}","starred_url":"https://api.github.com/users/redbeardcreator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redbeardcreator/subscriptions","organizations_url":"https://api.github.com/users/redbeardcreator/orgs","repos_url":"https://api.github.com/users/redbeardcreator/repos","events_url":"https://api.github.com/users/redbeardcreator/events{/privacy}","received_events_url":"https://api.github.com/users/redbeardcreator/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T05:01:10Z","updated_at":"2015-03-03T05:01:10Z","body":"On a Windows set up, the tendency would be to describe local paths with back slashes (`\\`) instead of forward slashes (`/`) the Unix-descended world uses. So, without seeing how @blrobin2 is using `Router`, I'd guess the problem is in the constructor, which calls `rtrim($pages_dir, '/')`, which would not act correctly if a Windows-style path is passed in.\r\n"}}