{"action":"opened","issue":{"url":"https://api.github.com/repos/TryGhost/gscan/issues/62","repository_url":"https://api.github.com/repos/TryGhost/gscan","labels_url":"https://api.github.com/repos/TryGhost/gscan/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/TryGhost/gscan/issues/62/comments","events_url":"https://api.github.com/repos/TryGhost/gscan/issues/62/events","html_url":"https://github.com/TryGhost/gscan/issues/62","id":238630085,"number":62,"title":"Regex helper lookup for deprecations misses handlebars edge cases","user":{"login":"ErisDS","id":101513,"avatar_url":"https://avatars2.githubusercontent.com/u/101513?v=3","gravatar_id":"","url":"https://api.github.com/users/ErisDS","html_url":"https://github.com/ErisDS","followers_url":"https://api.github.com/users/ErisDS/followers","following_url":"https://api.github.com/users/ErisDS/following{/other_user}","gists_url":"https://api.github.com/users/ErisDS/gists{/gist_id}","starred_url":"https://api.github.com/users/ErisDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ErisDS/subscriptions","organizations_url":"https://api.github.com/users/ErisDS/orgs","repos_url":"https://api.github.com/users/ErisDS/repos","events_url":"https://api.github.com/users/ErisDS/events{/privacy}","received_events_url":"https://api.github.com/users/ErisDS/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-26T18:29:40Z","updated_at":"2017-06-26T18:29:40Z","closed_at":null,"body":"There are several edge cases that the regular expressions used to look for deprecated helpers and data properties will not catch.\r\n\r\nFor example, it's valid to have whitespace: `{{ @blog.cover }}`, the image helper accepts arguments `{{image absolute=\"true\"}}` and there are other paths that could be used to reference an image property, e.g. `{{../image}}` or `{{post.author.image}}` or `{{post.tags.[0].image}}`.\r\n\r\nThe regular expressions will catch some 80% of common cases, however they will leave many incorrect usages of various deprecations. In the case of images, which we need to count as fatal errors, I think we need a more robust solution.\r\n\r\n"}}
{"actor":{"display_login":"ErisDS"}}