{"action":"created","comment":{"url":"https://api.github.com/repos/ding2/ding2/pulls/comments/25022290","id":25022290,"diff_hunk":"@@ -83,6 +83,7 @@ sub vcl_recv {\n   if (req.http.Cookie && req.http.X-Drupal-Roles == \"1\") {\n     set req.http.Cookie = \";\" + req.http.Cookie;\n     set req.http.Cookie = regsuball(req.http.Cookie, \"; +\", \";\");\n+    set req.http.Cookie = regsuball(req.http.Cookie, \";(SSESS[a-z0-9]+|NO_CACHE)=\", \"; \\1=\");\n     set req.http.Cookie = regsuball(req.http.Cookie, \";(SESS[a-z0-9]+|NO_CACHE)=\", \"; \\1=\");","path":"ding2.vcl","position":5,"original_position":5,"commit_id":"e3fdfb7d33b0eccf04147c2b30cf6c59d082a9bf","original_commit_id":"e3fdfb7d33b0eccf04147c2b30cf6c59d082a9bf","user":{"login":"kasperg","id":73966,"avatar_url":"https://avatars.githubusercontent.com/u/73966?v=3","gravatar_id":"","url":"https://api.github.com/users/kasperg","html_url":"https://github.com/kasperg","followers_url":"https://api.github.com/users/kasperg/followers","following_url":"https://api.github.com/users/kasperg/following{/other_user}","gists_url":"https://api.github.com/users/kasperg/gists{/gist_id}","starred_url":"https://api.github.com/users/kasperg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasperg/subscriptions","organizations_url":"https://api.github.com/users/kasperg/orgs","repos_url":"https://api.github.com/users/kasperg/repos","events_url":"https://api.github.com/users/kasperg/events{/privacy}","received_events_url":"https://api.github.com/users/kasperg/received_events","type":"User","site_admin":false},"body":"To me it seems unnecessary to add a new line here. Why not change the existing line to \r\n\r\n    set req.http.Cookie = regsuball(req.http.Cookie, \";(S?SESS[a-z0-9]+|NO_CACHE)=\", \"; \\1=\");\r\n\r\nor\r\n\r\n    set req.http.Cookie = regsuball(req.http.Cookie, \";(SESS[a-z0-9]+|SSESS[a-z0-9]+|NO_CACHE)=\", \"; \\1=\");","created_at":"2015-02-19T20:29:11Z","updated_at":"2015-02-19T20:29:11Z","html_url":"https://github.com/ding2/ding2/pull/14#discussion_r25022290","pull_request_url":"https://api.github.com/repos/ding2/ding2/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/ding2/ding2/pulls/comments/25022290"},"html":{"href":"https://github.com/ding2/ding2/pull/14#discussion_r25022290"},"pull_request":{"href":"https://api.github.com/repos/ding2/ding2/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/ding2/ding2/pulls/14","id":29367505,"html_url":"https://github.com/ding2/ding2/pull/14","diff_url":"https://github.com/ding2/ding2/pull/14.diff","patch_url":"https://github.com/ding2/ding2/pull/14.patch","issue_url":"https://api.github.com/repos/ding2/ding2/issues/14","number":14,"state":"open","locked":false,"title":"Issue #845 - Added secure session to varnish config file","user":{"login":"cableman","id":111397,"avatar_url":"https://avatars.githubusercontent.com/u/111397?v=3","gravatar_id":"","url":"https://api.github.com/users/cableman","html_url":"https://github.com/cableman","followers_url":"https://api.github.com/users/cableman/followers","following_url":"https://api.github.com/users/cableman/following{/other_user}","gists_url":"https://api.github.com/users/cableman/gists{/gist_id}","starred_url":"https://api.github.com/users/cableman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cableman/subscriptions","organizations_url":"https://api.github.com/users/cableman/orgs","repos_url":"https://api.github.com/users/cableman/repos","events_url":"https://api.github.com/users/cableman/events{/privacy}","received_events_url":"https://api.github.com/users/cableman/received_events","type":"User","site_admin":false},"body":"Fixed issue with drupal_set_message not being displayed for not logged in users.\r\n\r\nSee http://platform.dandigbib.org/issues/845","created_at":"2015-02-16T11:51:47Z","updated_at":"2015-02-19T20:29:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4728ebe06d455d31dcd5afee23c6e24414c47a2c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ding2/ding2/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ding2/ding2/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ding2/ding2/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ding2/ding2/issues/14/comments","statuses_url":"https://api.github.com/repos/ding2/ding2/statuses/e3fdfb7d33b0eccf04147c2b30cf6c59d082a9bf","head":{"label":"aakbcms:feature/isseu-845-ssess","ref":"feature/isseu-845-ssess","sha":"e3fdfb7d33b0eccf04147c2b30cf6c59d082a9bf","user":{"login":"aakbcms","id":10941069,"avatar_url":"https://avatars.githubusercontent.com/u/10941069?v=3","gravatar_id":"","url":"https://api.github.com/users/aakbcms","html_url":"https://github.com/aakbcms","followers_url":"https://api.github.com/users/aakbcms/followers","following_url":"https://api.github.com/users/aakbcms/following{/other_user}","gists_url":"https://api.github.com/users/aakbcms/gists{/gist_id}","starred_url":"https://api.github.com/users/aakbcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aakbcms/subscriptions","organizations_url":"https://api.github.com/users/aakbcms/orgs","repos_url":"https://api.github.com/users/aakbcms/repos","events_url":"https://api.github.com/users/aakbcms/events{/privacy}","received_events_url":"https://api.github.com/users/aakbcms/received_events","type":"Organization","site_admin":false},"repo":{"id":30648812,"name":"ding2","full_name":"aakbcms/ding2","owner":{"login":"aakbcms","id":10941069,"avatar_url":"https://avatars.githubusercontent.com/u/10941069?v=3","gravatar_id":"","url":"https://api.github.com/users/aakbcms","html_url":"https://github.com/aakbcms","followers_url":"https://api.github.com/users/aakbcms/followers","following_url":"https://api.github.com/users/aakbcms/following{/other_user}","gists_url":"https://api.github.com/users/aakbcms/gists{/gist_id}","starred_url":"https://api.github.com/users/aakbcms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aakbcms/subscriptions","organizations_url":"https://api.github.com/users/aakbcms/orgs","repos_url":"https://api.github.com/users/aakbcms/repos","events_url":"https://api.github.com/users/aakbcms/events{/privacy}","received_events_url":"https://api.github.com/users/aakbcms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aakbcms/ding2","description":"Ding install profile","fork":true,"url":"https://api.github.com/repos/aakbcms/ding2","forks_url":"https://api.github.com/repos/aakbcms/ding2/forks","keys_url":"https://api.github.com/repos/aakbcms/ding2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aakbcms/ding2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aakbcms/ding2/teams","hooks_url":"https://api.github.com/repos/aakbcms/ding2/hooks","issue_events_url":"https://api.github.com/repos/aakbcms/ding2/issues/events{/number}","events_url":"https://api.github.com/repos/aakbcms/ding2/events","assignees_url":"https://api.github.com/repos/aakbcms/ding2/assignees{/user}","branches_url":"https://api.github.com/repos/aakbcms/ding2/branches{/branch}","tags_url":"https://api.github.com/repos/aakbcms/ding2/tags","blobs_url":"https://api.github.com/repos/aakbcms/ding2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aakbcms/ding2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aakbcms/ding2/git/refs{/sha}","trees_url":"https://api.github.com/repos/aakbcms/ding2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aakbcms/ding2/statuses/{sha}","languages_url":"https://api.github.com/repos/aakbcms/ding2/languages","stargazers_url":"https://api.github.com/repos/aakbcms/ding2/stargazers","contributors_url":"https://api.github.com/repos/aakbcms/ding2/contributors","subscribers_url":"https://api.github.com/repos/aakbcms/ding2/subscribers","subscription_url":"https://api.github.com/repos/aakbcms/ding2/subscription","commits_url":"https://api.github.com/repos/aakbcms/ding2/commits{/sha}","git_commits_url":"https://api.github.com/repos/aakbcms/ding2/git/commits{/sha}","comments_url":"https://api.github.com/repos/aakbcms/ding2/comments{/number}","issue_comment_url":"https://api.github.com/repos/aakbcms/ding2/issues/comments/{number}","contents_url":"https://api.github.com/repos/aakbcms/ding2/contents/{+path}","compare_url":"https://api.github.com/repos/aakbcms/ding2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aakbcms/ding2/merges","archive_url":"https://api.github.com/repos/aakbcms/ding2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aakbcms/ding2/downloads","issues_url":"https://api.github.com/repos/aakbcms/ding2/issues{/number}","pulls_url":"https://api.github.com/repos/aakbcms/ding2/pulls{/number}","milestones_url":"https://api.github.com/repos/aakbcms/ding2/milestones{/number}","notifications_url":"https://api.github.com/repos/aakbcms/ding2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aakbcms/ding2/labels{/name}","releases_url":"https://api.github.com/repos/aakbcms/ding2/releases{/id}","created_at":"2015-02-11T13:27:42Z","updated_at":"2015-02-11T13:27:42Z","pushed_at":"2015-02-19T14:20:59Z","git_url":"git://github.com/aakbcms/ding2.git","ssh_url":"git@github.com:aakbcms/ding2.git","clone_url":"https://github.com/aakbcms/ding2.git","svn_url":"https://github.com/aakbcms/ding2","homepage":"","size":1454,"stargazers_count":0,"watchers_count":0,"language":"VCL","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"ding2:master","ref":"master","sha":"f013c07e083bd377dc186880fe6606bca07ff97a","user":{"login":"ding2","id":564698,"avatar_url":"https://avatars.githubusercontent.com/u/564698?v=3","gravatar_id":"","url":"https://api.github.com/users/ding2","html_url":"https://github.com/ding2","followers_url":"https://api.github.com/users/ding2/followers","following_url":"https://api.github.com/users/ding2/following{/other_user}","gists_url":"https://api.github.com/users/ding2/gists{/gist_id}","starred_url":"https://api.github.com/users/ding2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ding2/subscriptions","organizations_url":"https://api.github.com/users/ding2/orgs","repos_url":"https://api.github.com/users/ding2/repos","events_url":"https://api.github.com/users/ding2/events{/privacy}","received_events_url":"https://api.github.com/users/ding2/received_events","type":"Organization","site_admin":false},"repo":{"id":1266749,"name":"ding2","full_name":"ding2/ding2","owner":{"login":"ding2","id":564698,"avatar_url":"https://avatars.githubusercontent.com/u/564698?v=3","gravatar_id":"","url":"https://api.github.com/users/ding2","html_url":"https://github.com/ding2","followers_url":"https://api.github.com/users/ding2/followers","following_url":"https://api.github.com/users/ding2/following{/other_user}","gists_url":"https://api.github.com/users/ding2/gists{/gist_id}","starred_url":"https://api.github.com/users/ding2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ding2/subscriptions","organizations_url":"https://api.github.com/users/ding2/orgs","repos_url":"https://api.github.com/users/ding2/repos","events_url":"https://api.github.com/users/ding2/events{/privacy}","received_events_url":"https://api.github.com/users/ding2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ding2/ding2","description":"Ding install profile","fork":false,"url":"https://api.github.com/repos/ding2/ding2","forks_url":"https://api.github.com/repos/ding2/ding2/forks","keys_url":"https://api.github.com/repos/ding2/ding2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ding2/ding2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ding2/ding2/teams","hooks_url":"https://api.github.com/repos/ding2/ding2/hooks","issue_events_url":"https://api.github.com/repos/ding2/ding2/issues/events{/number}","events_url":"https://api.github.com/repos/ding2/ding2/events","assignees_url":"https://api.github.com/repos/ding2/ding2/assignees{/user}","branches_url":"https://api.github.com/repos/ding2/ding2/branches{/branch}","tags_url":"https://api.github.com/repos/ding2/ding2/tags","blobs_url":"https://api.github.com/repos/ding2/ding2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ding2/ding2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ding2/ding2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ding2/ding2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ding2/ding2/statuses/{sha}","languages_url":"https://api.github.com/repos/ding2/ding2/languages","stargazers_url":"https://api.github.com/repos/ding2/ding2/stargazers","contributors_url":"https://api.github.com/repos/ding2/ding2/contributors","subscribers_url":"https://api.github.com/repos/ding2/ding2/subscribers","subscription_url":"https://api.github.com/repos/ding2/ding2/subscription","commits_url":"https://api.github.com/repos/ding2/ding2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ding2/ding2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ding2/ding2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ding2/ding2/issues/comments/{number}","contents_url":"https://api.github.com/repos/ding2/ding2/contents/{+path}","compare_url":"https://api.github.com/repos/ding2/ding2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ding2/ding2/merges","archive_url":"https://api.github.com/repos/ding2/ding2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ding2/ding2/downloads","issues_url":"https://api.github.com/repos/ding2/ding2/issues{/number}","pulls_url":"https://api.github.com/repos/ding2/ding2/pulls{/number}","milestones_url":"https://api.github.com/repos/ding2/ding2/milestones{/number}","notifications_url":"https://api.github.com/repos/ding2/ding2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ding2/ding2/labels{/name}","releases_url":"https://api.github.com/repos/ding2/ding2/releases{/id}","created_at":"2011-01-18T10:54:00Z","updated_at":"2015-02-19T20:25:14Z","pushed_at":"2015-02-19T20:25:14Z","git_url":"git://github.com/ding2/ding2.git","ssh_url":"git@github.com:ding2/ding2.git","clone_url":"https://github.com/ding2/ding2.git","svn_url":"https://github.com/ding2/ding2","homepage":"","size":2376,"stargazers_count":10,"watchers_count":10,"language":"VCL","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":3,"forks":19,"open_issues":3,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ding2/ding2/pulls/14"},"html":{"href":"https://github.com/ding2/ding2/pull/14"},"issue":{"href":"https://api.github.com/repos/ding2/ding2/issues/14"},"comments":{"href":"https://api.github.com/repos/ding2/ding2/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ding2/ding2/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ding2/ding2/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ding2/ding2/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ding2/ding2/statuses/e3fdfb7d33b0eccf04147c2b30cf6c59d082a9bf"}}}}