{"action":"created","comment":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/comments/206630448","pull_request_review_id":142079795,"id":206630448,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNjYzMDQ0OA==","diff_hunk":"@@ -782,9 +782,13 @@ The following operators don't fit into any of the other categories:\n \n       (1..5)|join(', ')\n \n-* ``~``: Converts all operands into strings and concatenates them. ``{{ \"Hello\n-  \" ~ name ~ \"!\" }}`` would return (assuming ``name`` is ``'John'``) ``Hello\n-  John!``.\n+* ``~``: Converts all operands into strings and safely concatenates them (to\n+  avoid potential XSS). ``{{ \"Hello \" ~ name ~ \"!\" }}`` would return ","path":"doc/templates.rst","position":8,"original_position":8,"commit_id":"8170e644a6a7a38280a987872b259bd4d2f28d6a","original_commit_id":"8170e644a6a7a38280a987872b259bd4d2f28d6a","user":{"login":"simshaun","id":379519,"node_id":"MDQ6VXNlcjM3OTUxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/379519?v=4","gravatar_id":"","url":"https://api.github.com/users/simshaun","html_url":"https://github.com/simshaun","followers_url":"https://api.github.com/users/simshaun/followers","following_url":"https://api.github.com/users/simshaun/following{/other_user}","gists_url":"https://api.github.com/users/simshaun/gists{/gist_id}","starred_url":"https://api.github.com/users/simshaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simshaun/subscriptions","organizations_url":"https://api.github.com/users/simshaun/orgs","repos_url":"https://api.github.com/users/simshaun/repos","events_url":"https://api.github.com/users/simshaun/events{/privacy}","received_events_url":"https://api.github.com/users/simshaun/received_events","type":"User","site_admin":false},"body":"oooh","created_at":"2018-07-31T18:10:22Z","updated_at":"2018-07-31T18:10:22Z","html_url":"https://github.com/twigphp/Twig/pull/2731#discussion_r206630448","pull_request_url":"https://api.github.com/repos/twigphp/Twig/pulls/2731","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments/206630448"},"html":{"href":"https://github.com/twigphp/Twig/pull/2731#discussion_r206630448"},"pull_request":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2731"}},"in_reply_to_id":206629422},"pull_request":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/2731","id":205187960,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MTg3OTYw","html_url":"https://github.com/twigphp/Twig/pull/2731","diff_url":"https://github.com/twigphp/Twig/pull/2731.diff","patch_url":"https://github.com/twigphp/Twig/pull/2731.patch","issue_url":"https://api.github.com/repos/twigphp/Twig/issues/2731","number":2731,"state":"open","locked":false,"title":"Expand documentation on concatenation operator safety","user":{"login":"simshaun","id":379519,"node_id":"MDQ6VXNlcjM3OTUxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/379519?v=4","gravatar_id":"","url":"https://api.github.com/users/simshaun","html_url":"https://github.com/simshaun","followers_url":"https://api.github.com/users/simshaun/followers","following_url":"https://api.github.com/users/simshaun/following{/other_user}","gists_url":"https://api.github.com/users/simshaun/gists{/gist_id}","starred_url":"https://api.github.com/users/simshaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simshaun/subscriptions","organizations_url":"https://api.github.com/users/simshaun/orgs","repos_url":"https://api.github.com/users/simshaun/repos","events_url":"https://api.github.com/users/simshaun/events{/privacy}","received_events_url":"https://api.github.com/users/simshaun/received_events","type":"User","site_admin":false},"body":"Helps clarify issue #2728","created_at":"2018-07-31T17:32:49Z","updated_at":"2018-07-31T18:10:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45ea2446415fd417849cd3ecf66da781d0d0d7c3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/twigphp/Twig/pulls/2731/commits","review_comments_url":"https://api.github.com/repos/twigphp/Twig/pulls/2731/comments","review_comment_url":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twigphp/Twig/issues/2731/comments","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/8170e644a6a7a38280a987872b259bd4d2f28d6a","head":{"label":"simshaun:patch-3","ref":"patch-3","sha":"8170e644a6a7a38280a987872b259bd4d2f28d6a","user":{"login":"simshaun","id":379519,"node_id":"MDQ6VXNlcjM3OTUxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/379519?v=4","gravatar_id":"","url":"https://api.github.com/users/simshaun","html_url":"https://github.com/simshaun","followers_url":"https://api.github.com/users/simshaun/followers","following_url":"https://api.github.com/users/simshaun/following{/other_user}","gists_url":"https://api.github.com/users/simshaun/gists{/gist_id}","starred_url":"https://api.github.com/users/simshaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simshaun/subscriptions","organizations_url":"https://api.github.com/users/simshaun/orgs","repos_url":"https://api.github.com/users/simshaun/repos","events_url":"https://api.github.com/users/simshaun/events{/privacy}","received_events_url":"https://api.github.com/users/simshaun/received_events","type":"User","site_admin":false},"repo":{"id":38641573,"node_id":"MDEwOlJlcG9zaXRvcnkzODY0MTU3Mw==","name":"Twig","full_name":"simshaun/Twig","owner":{"login":"simshaun","id":379519,"node_id":"MDQ6VXNlcjM3OTUxOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/379519?v=4","gravatar_id":"","url":"https://api.github.com/users/simshaun","html_url":"https://github.com/simshaun","followers_url":"https://api.github.com/users/simshaun/followers","following_url":"https://api.github.com/users/simshaun/following{/other_user}","gists_url":"https://api.github.com/users/simshaun/gists{/gist_id}","starred_url":"https://api.github.com/users/simshaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simshaun/subscriptions","organizations_url":"https://api.github.com/users/simshaun/orgs","repos_url":"https://api.github.com/users/simshaun/repos","events_url":"https://api.github.com/users/simshaun/events{/privacy}","received_events_url":"https://api.github.com/users/simshaun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simshaun/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":true,"url":"https://api.github.com/repos/simshaun/Twig","forks_url":"https://api.github.com/repos/simshaun/Twig/forks","keys_url":"https://api.github.com/repos/simshaun/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simshaun/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simshaun/Twig/teams","hooks_url":"https://api.github.com/repos/simshaun/Twig/hooks","issue_events_url":"https://api.github.com/repos/simshaun/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/simshaun/Twig/events","assignees_url":"https://api.github.com/repos/simshaun/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/simshaun/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/simshaun/Twig/tags","blobs_url":"https://api.github.com/repos/simshaun/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simshaun/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simshaun/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/simshaun/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simshaun/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/simshaun/Twig/languages","stargazers_url":"https://api.github.com/repos/simshaun/Twig/stargazers","contributors_url":"https://api.github.com/repos/simshaun/Twig/contributors","subscribers_url":"https://api.github.com/repos/simshaun/Twig/subscribers","subscription_url":"https://api.github.com/repos/simshaun/Twig/subscription","commits_url":"https://api.github.com/repos/simshaun/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/simshaun/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/simshaun/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/simshaun/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/simshaun/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/simshaun/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simshaun/Twig/merges","archive_url":"https://api.github.com/repos/simshaun/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simshaun/Twig/downloads","issues_url":"https://api.github.com/repos/simshaun/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/simshaun/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/simshaun/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/simshaun/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simshaun/Twig/labels{/name}","releases_url":"https://api.github.com/repos/simshaun/Twig/releases{/id}","deployments_url":"https://api.github.com/repos/simshaun/Twig/deployments","created_at":"2015-07-06T19:38:04Z","updated_at":"2015-07-06T19:38:05Z","pushed_at":"2018-07-31T17:30:06Z","git_url":"git://github.com/simshaun/Twig.git","ssh_url":"git@github.com:simshaun/Twig.git","clone_url":"https://github.com/simshaun/Twig.git","svn_url":"https://github.com/simshaun/Twig","homepage":"http://twig.sensiolabs.org/","size":5649,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.x"}},"base":{"label":"twigphp:2.x","ref":"2.x","sha":"1329b5580fad7a4fa9fe321973a9bb8d4631b4f3","user":{"login":"twigphp","id":5296178,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyOTYxNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/5296178?v=4","gravatar_id":"","url":"https://api.github.com/users/twigphp","html_url":"https://github.com/twigphp","followers_url":"https://api.github.com/users/twigphp/followers","following_url":"https://api.github.com/users/twigphp/following{/other_user}","gists_url":"https://api.github.com/users/twigphp/gists{/gist_id}","starred_url":"https://api.github.com/users/twigphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twigphp/subscriptions","organizations_url":"https://api.github.com/users/twigphp/orgs","repos_url":"https://api.github.com/users/twigphp/repos","events_url":"https://api.github.com/users/twigphp/events{/privacy}","received_events_url":"https://api.github.com/users/twigphp/received_events","type":"Organization","site_admin":false},"repo":{"id":330275,"node_id":"MDEwOlJlcG9zaXRvcnkzMzAyNzU=","name":"Twig","full_name":"twigphp/Twig","owner":{"login":"twigphp","id":5296178,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyOTYxNzg=","avatar_url":"https://avatars1.githubusercontent.com/u/5296178?v=4","gravatar_id":"","url":"https://api.github.com/users/twigphp","html_url":"https://github.com/twigphp","followers_url":"https://api.github.com/users/twigphp/followers","following_url":"https://api.github.com/users/twigphp/following{/other_user}","gists_url":"https://api.github.com/users/twigphp/gists{/gist_id}","starred_url":"https://api.github.com/users/twigphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twigphp/subscriptions","organizations_url":"https://api.github.com/users/twigphp/orgs","repos_url":"https://api.github.com/users/twigphp/repos","events_url":"https://api.github.com/users/twigphp/events{/privacy}","received_events_url":"https://api.github.com/users/twigphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twigphp/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":false,"url":"https://api.github.com/repos/twigphp/Twig","forks_url":"https://api.github.com/repos/twigphp/Twig/forks","keys_url":"https://api.github.com/repos/twigphp/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twigphp/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twigphp/Twig/teams","hooks_url":"https://api.github.com/repos/twigphp/Twig/hooks","issue_events_url":"https://api.github.com/repos/twigphp/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/twigphp/Twig/events","assignees_url":"https://api.github.com/repos/twigphp/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/twigphp/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/twigphp/Twig/tags","blobs_url":"https://api.github.com/repos/twigphp/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twigphp/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twigphp/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/twigphp/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/twigphp/Twig/languages","stargazers_url":"https://api.github.com/repos/twigphp/Twig/stargazers","contributors_url":"https://api.github.com/repos/twigphp/Twig/contributors","subscribers_url":"https://api.github.com/repos/twigphp/Twig/subscribers","subscription_url":"https://api.github.com/repos/twigphp/Twig/subscription","commits_url":"https://api.github.com/repos/twigphp/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/twigphp/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/twigphp/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/twigphp/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/twigphp/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/twigphp/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twigphp/Twig/merges","archive_url":"https://api.github.com/repos/twigphp/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twigphp/Twig/downloads","issues_url":"https://api.github.com/repos/twigphp/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/twigphp/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/twigphp/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/twigphp/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twigphp/Twig/labels{/name}","releases_url":"https://api.github.com/repos/twigphp/Twig/releases{/id}","deployments_url":"https://api.github.com/repos/twigphp/Twig/deployments","created_at":"2009-10-07T21:23:38Z","updated_at":"2018-07-31T11:56:33Z","pushed_at":"2018-07-31T17:32:49Z","git_url":"git://github.com/twigphp/Twig.git","ssh_url":"git@github.com:twigphp/Twig.git","clone_url":"https://github.com/twigphp/Twig.git","svn_url":"https://github.com/twigphp/Twig","homepage":"https://twig.symfony.com/","size":6213,"stargazers_count":5175,"watchers_count":5175,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":996,"mirror_url":null,"archived":false,"open_issues_count":80,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":996,"open_issues":80,"watchers":5175,"default_branch":"2.x"}},"_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2731"},"html":{"href":"https://github.com/twigphp/Twig/pull/2731"},"issue":{"href":"https://api.github.com/repos/twigphp/Twig/issues/2731"},"comments":{"href":"https://api.github.com/repos/twigphp/Twig/issues/2731/comments"},"review_comments":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2731/comments"},"review_comment":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/2731/commits"},"statuses":{"href":"https://api.github.com/repos/twigphp/Twig/statuses/8170e644a6a7a38280a987872b259bd4d2f28d6a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"simshaun"}}