{"action":"closed","number":59,"pull_request":{"url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/59","id":36019712,"html_url":"https://github.com/nelmio/NelmioSecurityBundle/pull/59","diff_url":"https://github.com/nelmio/NelmioSecurityBundle/pull/59.diff","patch_url":"https://github.com/nelmio/NelmioSecurityBundle/pull/59.patch","issue_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues/59","number":59,"state":"closed","locked":false,"title":" Add HTTP response's content-type restriction for Clickjacking and CSP headers.","user":{"login":"romainneutron","id":137574,"avatar_url":"https://avatars.githubusercontent.com/u/137574?v=3","gravatar_id":"","url":"https://api.github.com/users/romainneutron","html_url":"https://github.com/romainneutron","followers_url":"https://api.github.com/users/romainneutron/followers","following_url":"https://api.github.com/users/romainneutron/following{/other_user}","gists_url":"https://api.github.com/users/romainneutron/gists{/gist_id}","starred_url":"https://api.github.com/users/romainneutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainneutron/subscriptions","organizations_url":"https://api.github.com/users/romainneutron/orgs","repos_url":"https://api.github.com/users/romainneutron/repos","events_url":"https://api.github.com/users/romainneutron/events{/privacy}","received_events_url":"https://api.github.com/users/romainneutron/received_events","type":"User","site_admin":false},"body":"This allows restriction on when to add clickjacking and CSP headers. For example, you can specify `text/html` so that these headers are only added in these cases.","created_at":"2015-05-22T10:47:42Z","updated_at":"2015-05-27T09:52:42Z","closed_at":"2015-05-27T09:52:42Z","merged_at":"2015-05-27T09:52:42Z","merge_commit_sha":"3747f1440af20947c8293352a0c1d44388b74659","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/59/commits","review_comments_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/59/comments","review_comment_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues/59/comments","statuses_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/statuses/a2c11ce388137aeeac6b7b2d0f0e9a1061909b02","head":{"label":"romainneutron:content-type-restriction","ref":"content-type-restriction","sha":"a2c11ce388137aeeac6b7b2d0f0e9a1061909b02","user":{"login":"romainneutron","id":137574,"avatar_url":"https://avatars.githubusercontent.com/u/137574?v=3","gravatar_id":"","url":"https://api.github.com/users/romainneutron","html_url":"https://github.com/romainneutron","followers_url":"https://api.github.com/users/romainneutron/followers","following_url":"https://api.github.com/users/romainneutron/following{/other_user}","gists_url":"https://api.github.com/users/romainneutron/gists{/gist_id}","starred_url":"https://api.github.com/users/romainneutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainneutron/subscriptions","organizations_url":"https://api.github.com/users/romainneutron/orgs","repos_url":"https://api.github.com/users/romainneutron/repos","events_url":"https://api.github.com/users/romainneutron/events{/privacy}","received_events_url":"https://api.github.com/users/romainneutron/received_events","type":"User","site_admin":false},"repo":{"id":36040921,"name":"NelmioSecurityBundle","full_name":"romainneutron/NelmioSecurityBundle","owner":{"login":"romainneutron","id":137574,"avatar_url":"https://avatars.githubusercontent.com/u/137574?v=3","gravatar_id":"","url":"https://api.github.com/users/romainneutron","html_url":"https://github.com/romainneutron","followers_url":"https://api.github.com/users/romainneutron/followers","following_url":"https://api.github.com/users/romainneutron/following{/other_user}","gists_url":"https://api.github.com/users/romainneutron/gists{/gist_id}","starred_url":"https://api.github.com/users/romainneutron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainneutron/subscriptions","organizations_url":"https://api.github.com/users/romainneutron/orgs","repos_url":"https://api.github.com/users/romainneutron/repos","events_url":"https://api.github.com/users/romainneutron/events{/privacy}","received_events_url":"https://api.github.com/users/romainneutron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romainneutron/NelmioSecurityBundle","description":"Extra security-related features for Symfony2","fork":true,"url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle","forks_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/forks","keys_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/teams","hooks_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/hooks","issue_events_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/issues/events{/number}","events_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/events","assignees_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/assignees{/user}","branches_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/branches{/branch}","tags_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/tags","blobs_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/languages","stargazers_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/stargazers","contributors_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/contributors","subscribers_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/subscribers","subscription_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/subscription","commits_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/contents/{+path}","compare_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/merges","archive_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/downloads","issues_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/issues{/number}","pulls_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/labels{/name}","releases_url":"https://api.github.com/repos/romainneutron/NelmioSecurityBundle/releases{/id}","created_at":"2015-05-21T22:43:45Z","updated_at":"2015-05-21T22:43:46Z","pushed_at":"2015-05-27T09:47:20Z","git_url":"git://github.com/romainneutron/NelmioSecurityBundle.git","ssh_url":"git@github.com:romainneutron/NelmioSecurityBundle.git","clone_url":"https://github.com/romainneutron/NelmioSecurityBundle.git","svn_url":"https://github.com/romainneutron/NelmioSecurityBundle","homepage":"","size":293,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nelmio:master","ref":"master","sha":"418cba13ec364799aa2cc6a0f3e3af30045a0cdb","user":{"login":"nelmio","id":460596,"avatar_url":"https://avatars.githubusercontent.com/u/460596?v=3","gravatar_id":"","url":"https://api.github.com/users/nelmio","html_url":"https://github.com/nelmio","followers_url":"https://api.github.com/users/nelmio/followers","following_url":"https://api.github.com/users/nelmio/following{/other_user}","gists_url":"https://api.github.com/users/nelmio/gists{/gist_id}","starred_url":"https://api.github.com/users/nelmio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelmio/subscriptions","organizations_url":"https://api.github.com/users/nelmio/orgs","repos_url":"https://api.github.com/users/nelmio/repos","events_url":"https://api.github.com/users/nelmio/events{/privacy}","received_events_url":"https://api.github.com/users/nelmio/received_events","type":"Organization","site_admin":false},"repo":{"id":2071268,"name":"NelmioSecurityBundle","full_name":"nelmio/NelmioSecurityBundle","owner":{"login":"nelmio","id":460596,"avatar_url":"https://avatars.githubusercontent.com/u/460596?v=3","gravatar_id":"","url":"https://api.github.com/users/nelmio","html_url":"https://github.com/nelmio","followers_url":"https://api.github.com/users/nelmio/followers","following_url":"https://api.github.com/users/nelmio/following{/other_user}","gists_url":"https://api.github.com/users/nelmio/gists{/gist_id}","starred_url":"https://api.github.com/users/nelmio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nelmio/subscriptions","organizations_url":"https://api.github.com/users/nelmio/orgs","repos_url":"https://api.github.com/users/nelmio/repos","events_url":"https://api.github.com/users/nelmio/events{/privacy}","received_events_url":"https://api.github.com/users/nelmio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nelmio/NelmioSecurityBundle","description":"Extra security-related features for Symfony2","fork":false,"url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle","forks_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/forks","keys_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/teams","hooks_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/hooks","issue_events_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues/events{/number}","events_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/events","assignees_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/assignees{/user}","branches_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/branches{/branch}","tags_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/tags","blobs_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/languages","stargazers_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/stargazers","contributors_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/contributors","subscribers_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/subscribers","subscription_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/subscription","commits_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/contents/{+path}","compare_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/merges","archive_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/downloads","issues_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues{/number}","pulls_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/labels{/name}","releases_url":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/releases{/id}","created_at":"2011-07-19T09:26:13Z","updated_at":"2015-05-27T05:54:31Z","pushed_at":"2015-05-27T09:52:43Z","git_url":"git://github.com/nelmio/NelmioSecurityBundle.git","ssh_url":"git@github.com:nelmio/NelmioSecurityBundle.git","clone_url":"https://github.com/nelmio/NelmioSecurityBundle.git","svn_url":"https://github.com/nelmio/NelmioSecurityBundle","homepage":"","size":784,"stargazers_count":305,"watchers_count":305,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":7,"forks":26,"open_issues":7,"watchers":305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/59"},"html":{"href":"https://github.com/nelmio/NelmioSecurityBundle/pull/59"},"issue":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues/59"},"comments":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/nelmio/NelmioSecurityBundle/statuses/a2c11ce388137aeeac6b7b2d0f0e9a1061909b02"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Seldaek","id":183678,"avatar_url":"https://avatars.githubusercontent.com/u/183678?v=3","gravatar_id":"","url":"https://api.github.com/users/Seldaek","html_url":"https://github.com/Seldaek","followers_url":"https://api.github.com/users/Seldaek/followers","following_url":"https://api.github.com/users/Seldaek/following{/other_user}","gists_url":"https://api.github.com/users/Seldaek/gists{/gist_id}","starred_url":"https://api.github.com/users/Seldaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seldaek/subscriptions","organizations_url":"https://api.github.com/users/Seldaek/orgs","repos_url":"https://api.github.com/users/Seldaek/repos","events_url":"https://api.github.com/users/Seldaek/events{/privacy}","received_events_url":"https://api.github.com/users/Seldaek/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":5,"additions":108,"deletions":13,"changed_files":10}}