{"comment":{"url":"https://api.github.com/repos/medic/medic-api/comments/16052228","html_url":"https://github.com/medic/medic-api/commit/ca92ab1cca5224b5b03864a20c229547c024195a#commitcomment-16052228","id":16052228,"user":{"login":"browndav","id":763977,"avatar_url":"https://avatars.githubusercontent.com/u/763977?v=3","gravatar_id":"","url":"https://api.github.com/users/browndav","html_url":"https://github.com/browndav","followers_url":"https://api.github.com/users/browndav/followers","following_url":"https://api.github.com/users/browndav/following{/other_user}","gists_url":"https://api.github.com/users/browndav/gists{/gist_id}","starred_url":"https://api.github.com/users/browndav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/browndav/subscriptions","organizations_url":"https://api.github.com/users/browndav/orgs","repos_url":"https://api.github.com/users/browndav/repos","events_url":"https://api.github.com/users/browndav/events{/privacy}","received_events_url":"https://api.github.com/users/browndav/received_events","type":"User","site_admin":false},"position":5,"line":18,"path":"handlers/changes.js","commit_id":"ca92ab1cca5224b5b03864a20c229547c024195a","created_at":"2016-02-12T04:38:51Z","updated_at":"2016-02-12T04:38:51Z","body":"I'd probably suggest explicitly splitting on `/`, checking that there are exactly two components, and verifying that the second component is `doc_by_place`. I know `filter` isn't a full URL, but I can kind of envision weird edge cases where you'd be able to get `doc_by_place` in to the string in a way that's ignored."}}