{"action":"created","comment":{"url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/comments/70573459","id":70573459,"diff_hunk":"@@ -54,6 +54,12 @@ public void testGetCookieConfig(){\n         Assert.assertNotNull(hostConfig.getCookieConfig().getName(), \"PROXYCOOKIE\");\n     }\n \n+    @Test\n+    public void testGetUnsecuredPaths(){","path":"proxy-config/src/test/java/no/difi/idporten/oidc/proxy/config/TypesafeHostConfigTest.java","position":5,"original_position":5,"commit_id":"d6c4f8a7b6b31f2116fedee6755fe21e2501d3da","original_commit_id":"d6c4f8a7b6b31f2116fedee6755fe21e2501d3da","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: ['{' is not preceded with whitespace.](https://www.codacy.com/app/klakegg/dc16-oidc-proxy/file/2976575037/issues/source?bid=3400779&fileBranchId=3439656#l58)","created_at":"2016-07-13T07:04:39Z","updated_at":"2016-07-13T07:04:39Z","html_url":"https://github.com/difi/dc16-oidc-proxy/pull/72#discussion_r70573459","pull_request_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/comments/70573459"},"html":{"href":"https://github.com/difi/dc16-oidc-proxy/pull/72#discussion_r70573459"},"pull_request":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72","id":77239243,"html_url":"https://github.com/difi/dc16-oidc-proxy/pull/72","diff_url":"https://github.com/difi/dc16-oidc-proxy/pull/72.diff","patch_url":"https://github.com/difi/dc16-oidc-proxy/pull/72.patch","issue_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/72","number":72,"state":"open","locked":false,"title":"Unsecured paths","user":{"login":"didrikpa","id":6780986,"avatar_url":"https://avatars.githubusercontent.com/u/6780986?v=3","gravatar_id":"","url":"https://api.github.com/users/didrikpa","html_url":"https://github.com/didrikpa","followers_url":"https://api.github.com/users/didrikpa/followers","following_url":"https://api.github.com/users/didrikpa/following{/other_user}","gists_url":"https://api.github.com/users/didrikpa/gists{/gist_id}","starred_url":"https://api.github.com/users/didrikpa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/didrikpa/subscriptions","organizations_url":"https://api.github.com/users/didrikpa/orgs","repos_url":"https://api.github.com/users/didrikpa/repos","events_url":"https://api.github.com/users/didrikpa/events{/privacy}","received_events_url":"https://api.github.com/users/didrikpa/received_events","type":"User","site_admin":false},"body":"Configuring unsecured paths which should not receive user data can now be done.","created_at":"2016-07-13T07:01:49Z","updated_at":"2016-07-13T07:04:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4468de355ef628c534aa1c5fa20818acba1a0db6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72/commits","review_comments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72/comments","review_comment_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/72/comments","statuses_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/statuses/d6c4f8a7b6b31f2116fedee6755fe21e2501d3da","head":{"label":"difi:unsecured-paths","ref":"unsecured-paths","sha":"d6c4f8a7b6b31f2116fedee6755fe21e2501d3da","user":{"login":"difi","id":226592,"avatar_url":"https://avatars.githubusercontent.com/u/226592?v=3","gravatar_id":"","url":"https://api.github.com/users/difi","html_url":"https://github.com/difi","followers_url":"https://api.github.com/users/difi/followers","following_url":"https://api.github.com/users/difi/following{/other_user}","gists_url":"https://api.github.com/users/difi/gists{/gist_id}","starred_url":"https://api.github.com/users/difi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/difi/subscriptions","organizations_url":"https://api.github.com/users/difi/orgs","repos_url":"https://api.github.com/users/difi/repos","events_url":"https://api.github.com/users/difi/events{/privacy}","received_events_url":"https://api.github.com/users/difi/received_events","type":"Organization","site_admin":false},"repo":{"id":60424566,"name":"dc16-oidc-proxy","full_name":"difi/dc16-oidc-proxy","owner":{"login":"difi","id":226592,"avatar_url":"https://avatars.githubusercontent.com/u/226592?v=3","gravatar_id":"","url":"https://api.github.com/users/difi","html_url":"https://github.com/difi","followers_url":"https://api.github.com/users/difi/followers","following_url":"https://api.github.com/users/difi/following{/other_user}","gists_url":"https://api.github.com/users/difi/gists{/gist_id}","starred_url":"https://api.github.com/users/difi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/difi/subscriptions","organizations_url":"https://api.github.com/users/difi/orgs","repos_url":"https://api.github.com/users/difi/repos","events_url":"https://api.github.com/users/difi/events{/privacy}","received_events_url":"https://api.github.com/users/difi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/difi/dc16-oidc-proxy","description":"DifiCamp 2016 Open ID Connect Proxy project","fork":false,"url":"https://api.github.com/repos/difi/dc16-oidc-proxy","forks_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/forks","keys_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/teams","hooks_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/hooks","issue_events_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/events","assignees_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/tags","blobs_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/languages","stargazers_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/stargazers","contributors_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/contributors","subscribers_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/subscribers","subscription_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/subscription","commits_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/merges","archive_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/downloads","issues_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/labels{/name}","releases_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/deployments","created_at":"2016-06-04T18:30:42Z","updated_at":"2016-06-16T05:47:46Z","pushed_at":"2016-07-13T07:01:49Z","git_url":"git://github.com/difi/dc16-oidc-proxy.git","ssh_url":"git@github.com:difi/dc16-oidc-proxy.git","clone_url":"https://github.com/difi/dc16-oidc-proxy.git","svn_url":"https://github.com/difi/dc16-oidc-proxy","homepage":null,"size":499,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"difi:master","ref":"master","sha":"8bae5cba8587321a6daf028933dace1470afd9bd","user":{"login":"difi","id":226592,"avatar_url":"https://avatars.githubusercontent.com/u/226592?v=3","gravatar_id":"","url":"https://api.github.com/users/difi","html_url":"https://github.com/difi","followers_url":"https://api.github.com/users/difi/followers","following_url":"https://api.github.com/users/difi/following{/other_user}","gists_url":"https://api.github.com/users/difi/gists{/gist_id}","starred_url":"https://api.github.com/users/difi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/difi/subscriptions","organizations_url":"https://api.github.com/users/difi/orgs","repos_url":"https://api.github.com/users/difi/repos","events_url":"https://api.github.com/users/difi/events{/privacy}","received_events_url":"https://api.github.com/users/difi/received_events","type":"Organization","site_admin":false},"repo":{"id":60424566,"name":"dc16-oidc-proxy","full_name":"difi/dc16-oidc-proxy","owner":{"login":"difi","id":226592,"avatar_url":"https://avatars.githubusercontent.com/u/226592?v=3","gravatar_id":"","url":"https://api.github.com/users/difi","html_url":"https://github.com/difi","followers_url":"https://api.github.com/users/difi/followers","following_url":"https://api.github.com/users/difi/following{/other_user}","gists_url":"https://api.github.com/users/difi/gists{/gist_id}","starred_url":"https://api.github.com/users/difi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/difi/subscriptions","organizations_url":"https://api.github.com/users/difi/orgs","repos_url":"https://api.github.com/users/difi/repos","events_url":"https://api.github.com/users/difi/events{/privacy}","received_events_url":"https://api.github.com/users/difi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/difi/dc16-oidc-proxy","description":"DifiCamp 2016 Open ID Connect Proxy project","fork":false,"url":"https://api.github.com/repos/difi/dc16-oidc-proxy","forks_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/forks","keys_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/teams","hooks_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/hooks","issue_events_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/events","assignees_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/tags","blobs_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/languages","stargazers_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/stargazers","contributors_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/contributors","subscribers_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/subscribers","subscription_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/subscription","commits_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/merges","archive_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/downloads","issues_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/labels{/name}","releases_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/difi/dc16-oidc-proxy/deployments","created_at":"2016-06-04T18:30:42Z","updated_at":"2016-06-16T05:47:46Z","pushed_at":"2016-07-13T07:01:49Z","git_url":"git://github.com/difi/dc16-oidc-proxy.git","ssh_url":"git@github.com:difi/dc16-oidc-proxy.git","clone_url":"https://github.com/difi/dc16-oidc-proxy.git","svn_url":"https://github.com/difi/dc16-oidc-proxy","homepage":null,"size":499,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72"},"html":{"href":"https://github.com/difi/dc16-oidc-proxy/pull/72"},"issue":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/72"},"comments":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/difi/dc16-oidc-proxy/statuses/d6c4f8a7b6b31f2116fedee6755fe21e2501d3da"}}}}
{"actor":{"display_login":"codacy-bot"}}