{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/druid/issues/1472","repository_url":"https://api.github.com/repos/alibaba/druid","labels_url":"https://api.github.com/repos/alibaba/druid/issues/1472/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/druid/issues/1472/comments","events_url":"https://api.github.com/repos/alibaba/druid/issues/1472/events","html_url":"https://github.com/alibaba/druid/issues/1472","id":187638466,"number":1472,"title":"这是commentAllow 相关bug吗","user":{"login":"shenyun","id":3363368,"avatar_url":"https://avatars.githubusercontent.com/u/3363368?v=3","gravatar_id":"","url":"https://api.github.com/users/shenyun","html_url":"https://github.com/shenyun","followers_url":"https://api.github.com/users/shenyun/followers","following_url":"https://api.github.com/users/shenyun/following{/other_user}","gists_url":"https://api.github.com/users/shenyun/gists{/gist_id}","starred_url":"https://api.github.com/users/shenyun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenyun/subscriptions","organizations_url":"https://api.github.com/users/shenyun/orgs","repos_url":"https://api.github.com/users/shenyun/repos","events_url":"https://api.github.com/users/shenyun/events{/privacy}","received_events_url":"https://api.github.com/users/shenyun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-07T07:00:16Z","updated_at":"2016-11-12T13:42:16Z","closed_at":null,"body":"使用的版本是1.0.18，环境添加了wallfilter,默认配置commentAllow=false\r\nsql1:\r\n       SELECT\r\n*\r\n        FROM t_file_info\r\n        -- 我的sdfs\r\n        WHERE 1=1 AND id=#{id}\r\n\r\nsql2:\r\n      SELECT\r\n*\r\n        FROM t_file_info\r\n        -- 我的where a=1\r\n        WHERE 1=1 AND id=#{id}\r\nsql1的执行没有问题\r\nsql2的执行报:\r\n### Error querying database. Cause: java.sql.SQLException: sql injection violation, comment not allow\r\n\r\n如果是不允许sql中由注释，是否是在以上两段sql中都应该抛异常呢。"},"comment":{"url":"https://api.github.com/repos/alibaba/druid/issues/comments/260122839","html_url":"https://github.com/alibaba/druid/issues/1472#issuecomment-260122839","issue_url":"https://api.github.com/repos/alibaba/druid/issues/1472","id":260122839,"user":{"login":"wenshao","id":1166785,"avatar_url":"https://avatars.githubusercontent.com/u/1166785?v=3","gravatar_id":"","url":"https://api.github.com/users/wenshao","html_url":"https://github.com/wenshao","followers_url":"https://api.github.com/users/wenshao/followers","following_url":"https://api.github.com/users/wenshao/following{/other_user}","gists_url":"https://api.github.com/users/wenshao/gists{/gist_id}","starred_url":"https://api.github.com/users/wenshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenshao/subscriptions","organizations_url":"https://api.github.com/users/wenshao/orgs","repos_url":"https://api.github.com/users/wenshao/repos","events_url":"https://api.github.com/users/wenshao/events{/privacy}","received_events_url":"https://api.github.com/users/wenshao/received_events","type":"User","site_admin":false},"created_at":"2016-11-12T13:42:16Z","updated_at":"2016-11-12T13:42:16Z","body":"第一段没注入风险，第二段有"}}
{"actor":{"display_login":"wenshao"}}