{"action":"created","comment":{"url":"https://api.github.com/repos/rcbops/rpc-gating/pulls/comments/239588749","pull_request_review_id":182415399,"id":239588749,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTU4ODc0OQ==","diff_hunk":"@@ -90,10 +90,11 @@ def update_page(self, page_id, page_version_id, space_key, title, body):\n             \"type\": \"page\",\n             \"title\": title,\n             \"space\": {\"key\": space_key},\n-            \"body\": {\"storage\": {\"value\": body, \"representation\": \"storage\"}},\n+            \"body\": {\"storage\": {\"value\": body.encode('ascii', 'xmlcharrefreplace'), \"representation\": \"storage\"}},","path":"scripts/confluenceutils.py","position":5,"original_position":5,"commit_id":"e7a6f011aa8ed6d180744f818debfddf38d48d8a","original_commit_id":"e7a6f011aa8ed6d180744f818debfddf38d48d8a","user":{"login":"dealako","id":519609,"node_id":"MDQ6VXNlcjUxOTYwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/519609?v=4","gravatar_id":"","url":"https://api.github.com/users/dealako","html_url":"https://github.com/dealako","followers_url":"https://api.github.com/users/dealako/followers","following_url":"https://api.github.com/users/dealako/following{/other_user}","gists_url":"https://api.github.com/users/dealako/gists{/gist_id}","starred_url":"https://api.github.com/users/dealako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealako/subscriptions","organizations_url":"https://api.github.com/users/dealako/orgs","repos_url":"https://api.github.com/users/dealako/repos","events_url":"https://api.github.com/users/dealako/events{/privacy}","received_events_url":"https://api.github.com/users/dealako/received_events","type":"User","site_admin":false},"body":"`utf8` seems to simply remove the `\\xa0` character, where `ascii` seems to replace it with the `&#160;` entity.","created_at":"2018-12-06T19:44:39Z","updated_at":"2018-12-06T19:44:40Z","html_url":"https://github.com/rcbops/rpc-gating/pull/1229#discussion_r239588749","pull_request_url":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/rcbops/rpc-gating/pulls/comments/239588749"},"html":{"href":"https://github.com/rcbops/rpc-gating/pull/1229#discussion_r239588749"},"pull_request":{"href":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229"}},"in_reply_to_id":239583643},"pull_request":{"url":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229","id":236630456,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NjMwNDU2","html_url":"https://github.com/rcbops/rpc-gating/pull/1229","diff_url":"https://github.com/rcbops/rpc-gating/pull/1229.diff","patch_url":"https://github.com/rcbops/rpc-gating/pull/1229.patch","issue_url":"https://api.github.com/repos/rcbops/rpc-gating/issues/1229","number":1229,"state":"open","locked":false,"title":"Confluence Wiki Upload/Update Error Fix","user":{"login":"dealako","id":519609,"node_id":"MDQ6VXNlcjUxOTYwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/519609?v=4","gravatar_id":"","url":"https://api.github.com/users/dealako","html_url":"https://github.com/dealako","followers_url":"https://api.github.com/users/dealako/followers","following_url":"https://api.github.com/users/dealako/following{/other_user}","gists_url":"https://api.github.com/users/dealako/gists{/gist_id}","starred_url":"https://api.github.com/users/dealako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealako/subscriptions","organizations_url":"https://api.github.com/users/dealako/orgs","repos_url":"https://api.github.com/users/dealako/repos","events_url":"https://api.github.com/users/dealako/events{/privacy}","received_events_url":"https://api.github.com/users/dealako/received_events","type":"User","site_admin":false},"body":"* Added HTML encode to the body value\r\n* Added logging debug for body value\r\n\r\nJIRA: RE-2238\n\nIssue: [RE-2238](https://rpc-openstack.atlassian.net/browse/RE-2238)","created_at":"2018-12-06T18:37:35Z","updated_at":"2018-12-06T19:44:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89d0c4b1da6cbb5f3176beb699f7d697d71b79b4","assignee":{"login":"dealako","id":519609,"node_id":"MDQ6VXNlcjUxOTYwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/519609?v=4","gravatar_id":"","url":"https://api.github.com/users/dealako","html_url":"https://github.com/dealako","followers_url":"https://api.github.com/users/dealako/followers","following_url":"https://api.github.com/users/dealako/following{/other_user}","gists_url":"https://api.github.com/users/dealako/gists{/gist_id}","starred_url":"https://api.github.com/users/dealako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealako/subscriptions","organizations_url":"https://api.github.com/users/dealako/orgs","repos_url":"https://api.github.com/users/dealako/repos","events_url":"https://api.github.com/users/dealako/events{/privacy}","received_events_url":"https://api.github.com/users/dealako/received_events","type":"User","site_admin":false},"assignees":[{"login":"dealako","id":519609,"node_id":"MDQ6VXNlcjUxOTYwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/519609?v=4","gravatar_id":"","url":"https://api.github.com/users/dealako","html_url":"https://github.com/dealako","followers_url":"https://api.github.com/users/dealako/followers","following_url":"https://api.github.com/users/dealako/following{/other_user}","gists_url":"https://api.github.com/users/dealako/gists{/gist_id}","starred_url":"https://api.github.com/users/dealako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealako/subscriptions","organizations_url":"https://api.github.com/users/dealako/orgs","repos_url":"https://api.github.com/users/dealako/repos","events_url":"https://api.github.com/users/dealako/events{/privacy}","received_events_url":"https://api.github.com/users/dealako/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"odyssey4me","id":2152106,"node_id":"MDQ6VXNlcjIxNTIxMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/2152106?v=4","gravatar_id":"","url":"https://api.github.com/users/odyssey4me","html_url":"https://github.com/odyssey4me","followers_url":"https://api.github.com/users/odyssey4me/followers","following_url":"https://api.github.com/users/odyssey4me/following{/other_user}","gists_url":"https://api.github.com/users/odyssey4me/gists{/gist_id}","starred_url":"https://api.github.com/users/odyssey4me/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odyssey4me/subscriptions","organizations_url":"https://api.github.com/users/odyssey4me/orgs","repos_url":"https://api.github.com/users/odyssey4me/repos","events_url":"https://api.github.com/users/odyssey4me/events{/privacy}","received_events_url":"https://api.github.com/users/odyssey4me/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229/commits","review_comments_url":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229/comments","review_comment_url":"https://api.github.com/repos/rcbops/rpc-gating/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rcbops/rpc-gating/issues/1229/comments","statuses_url":"https://api.github.com/repos/rcbops/rpc-gating/statuses/e7a6f011aa8ed6d180744f818debfddf38d48d8a","head":{"label":"dealako:feature/RE-2238-fix-confluence-wiki-upload-error","ref":"feature/RE-2238-fix-confluence-wiki-upload-error","sha":"e7a6f011aa8ed6d180744f818debfddf38d48d8a","user":{"login":"dealako","id":519609,"node_id":"MDQ6VXNlcjUxOTYwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/519609?v=4","gravatar_id":"","url":"https://api.github.com/users/dealako","html_url":"https://github.com/dealako","followers_url":"https://api.github.com/users/dealako/followers","following_url":"https://api.github.com/users/dealako/following{/other_user}","gists_url":"https://api.github.com/users/dealako/gists{/gist_id}","starred_url":"https://api.github.com/users/dealako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealako/subscriptions","organizations_url":"https://api.github.com/users/dealako/orgs","repos_url":"https://api.github.com/users/dealako/repos","events_url":"https://api.github.com/users/dealako/events{/privacy}","received_events_url":"https://api.github.com/users/dealako/received_events","type":"User","site_admin":false},"repo":{"id":128967958,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg5Njc5NTg=","name":"rpc-gating","full_name":"dealako/rpc-gating","private":false,"owner":{"login":"dealako","id":519609,"node_id":"MDQ6VXNlcjUxOTYwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/519609?v=4","gravatar_id":"","url":"https://api.github.com/users/dealako","html_url":"https://github.com/dealako","followers_url":"https://api.github.com/users/dealako/followers","following_url":"https://api.github.com/users/dealako/following{/other_user}","gists_url":"https://api.github.com/users/dealako/gists{/gist_id}","starred_url":"https://api.github.com/users/dealako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealako/subscriptions","organizations_url":"https://api.github.com/users/dealako/orgs","repos_url":"https://api.github.com/users/dealako/repos","events_url":"https://api.github.com/users/dealako/events{/privacy}","received_events_url":"https://api.github.com/users/dealako/received_events","type":"User","site_admin":false},"html_url":"https://github.com/dealako/rpc-gating","description":"Unified Gating Repository","fork":true,"url":"https://api.github.com/repos/dealako/rpc-gating","forks_url":"https://api.github.com/repos/dealako/rpc-gating/forks","keys_url":"https://api.github.com/repos/dealako/rpc-gating/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dealako/rpc-gating/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dealako/rpc-gating/teams","hooks_url":"https://api.github.com/repos/dealako/rpc-gating/hooks","issue_events_url":"https://api.github.com/repos/dealako/rpc-gating/issues/events{/number}","events_url":"https://api.github.com/repos/dealako/rpc-gating/events","assignees_url":"https://api.github.com/repos/dealako/rpc-gating/assignees{/user}","branches_url":"https://api.github.com/repos/dealako/rpc-gating/branches{/branch}","tags_url":"https://api.github.com/repos/dealako/rpc-gating/tags","blobs_url":"https://api.github.com/repos/dealako/rpc-gating/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dealako/rpc-gating/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dealako/rpc-gating/git/refs{/sha}","trees_url":"https://api.github.com/repos/dealako/rpc-gating/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dealako/rpc-gating/statuses/{sha}","languages_url":"https://api.github.com/repos/dealako/rpc-gating/languages","stargazers_url":"https://api.github.com/repos/dealako/rpc-gating/stargazers","contributors_url":"https://api.github.com/repos/dealako/rpc-gating/contributors","subscribers_url":"https://api.github.com/repos/dealako/rpc-gating/subscribers","subscription_url":"https://api.github.com/repos/dealako/rpc-gating/subscription","commits_url":"https://api.github.com/repos/dealako/rpc-gating/commits{/sha}","git_commits_url":"https://api.github.com/repos/dealako/rpc-gating/git/commits{/sha}","comments_url":"https://api.github.com/repos/dealako/rpc-gating/comments{/number}","issue_comment_url":"https://api.github.com/repos/dealako/rpc-gating/issues/comments{/number}","contents_url":"https://api.github.com/repos/dealako/rpc-gating/contents/{+path}","compare_url":"https://api.github.com/repos/dealako/rpc-gating/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dealako/rpc-gating/merges","archive_url":"https://api.github.com/repos/dealako/rpc-gating/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dealako/rpc-gating/downloads","issues_url":"https://api.github.com/repos/dealako/rpc-gating/issues{/number}","pulls_url":"https://api.github.com/repos/dealako/rpc-gating/pulls{/number}","milestones_url":"https://api.github.com/repos/dealako/rpc-gating/milestones{/number}","notifications_url":"https://api.github.com/repos/dealako/rpc-gating/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dealako/rpc-gating/labels{/name}","releases_url":"https://api.github.com/repos/dealako/rpc-gating/releases{/id}","deployments_url":"https://api.github.com/repos/dealako/rpc-gating/deployments","created_at":"2018-04-10T17:03:05Z","updated_at":"2018-12-06T18:23:21Z","pushed_at":"2018-12-06T18:29:57Z","git_url":"git://github.com/dealako/rpc-gating.git","ssh_url":"git@github.com:dealako/rpc-gating.git","clone_url":"https://github.com/dealako/rpc-gating.git","svn_url":"https://github.com/dealako/rpc-gating","homepage":null,"size":5257,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rcbops:master","ref":"master","sha":"30f2a8fbe04f894a4b083499f6a1e42f736cd0ee","user":{"login":"rcbops","id":1153548,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTM1NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1153548?v=4","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"repo":{"id":79365088,"node_id":"MDEwOlJlcG9zaXRvcnk3OTM2NTA4OA==","name":"rpc-gating","full_name":"rcbops/rpc-gating","private":false,"owner":{"login":"rcbops","id":1153548,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTM1NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/1153548?v=4","gravatar_id":"","url":"https://api.github.com/users/rcbops","html_url":"https://github.com/rcbops","followers_url":"https://api.github.com/users/rcbops/followers","following_url":"https://api.github.com/users/rcbops/following{/other_user}","gists_url":"https://api.github.com/users/rcbops/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbops/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbops/subscriptions","organizations_url":"https://api.github.com/users/rcbops/orgs","repos_url":"https://api.github.com/users/rcbops/repos","events_url":"https://api.github.com/users/rcbops/events{/privacy}","received_events_url":"https://api.github.com/users/rcbops/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rcbops/rpc-gating","description":"Unified Gating Repository","fork":false,"url":"https://api.github.com/repos/rcbops/rpc-gating","forks_url":"https://api.github.com/repos/rcbops/rpc-gating/forks","keys_url":"https://api.github.com/repos/rcbops/rpc-gating/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rcbops/rpc-gating/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rcbops/rpc-gating/teams","hooks_url":"https://api.github.com/repos/rcbops/rpc-gating/hooks","issue_events_url":"https://api.github.com/repos/rcbops/rpc-gating/issues/events{/number}","events_url":"https://api.github.com/repos/rcbops/rpc-gating/events","assignees_url":"https://api.github.com/repos/rcbops/rpc-gating/assignees{/user}","branches_url":"https://api.github.com/repos/rcbops/rpc-gating/branches{/branch}","tags_url":"https://api.github.com/repos/rcbops/rpc-gating/tags","blobs_url":"https://api.github.com/repos/rcbops/rpc-gating/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rcbops/rpc-gating/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rcbops/rpc-gating/git/refs{/sha}","trees_url":"https://api.github.com/repos/rcbops/rpc-gating/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rcbops/rpc-gating/statuses/{sha}","languages_url":"https://api.github.com/repos/rcbops/rpc-gating/languages","stargazers_url":"https://api.github.com/repos/rcbops/rpc-gating/stargazers","contributors_url":"https://api.github.com/repos/rcbops/rpc-gating/contributors","subscribers_url":"https://api.github.com/repos/rcbops/rpc-gating/subscribers","subscription_url":"https://api.github.com/repos/rcbops/rpc-gating/subscription","commits_url":"https://api.github.com/repos/rcbops/rpc-gating/commits{/sha}","git_commits_url":"https://api.github.com/repos/rcbops/rpc-gating/git/commits{/sha}","comments_url":"https://api.github.com/repos/rcbops/rpc-gating/comments{/number}","issue_comment_url":"https://api.github.com/repos/rcbops/rpc-gating/issues/comments{/number}","contents_url":"https://api.github.com/repos/rcbops/rpc-gating/contents/{+path}","compare_url":"https://api.github.com/repos/rcbops/rpc-gating/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rcbops/rpc-gating/merges","archive_url":"https://api.github.com/repos/rcbops/rpc-gating/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rcbops/rpc-gating/downloads","issues_url":"https://api.github.com/repos/rcbops/rpc-gating/issues{/number}","pulls_url":"https://api.github.com/repos/rcbops/rpc-gating/pulls{/number}","milestones_url":"https://api.github.com/repos/rcbops/rpc-gating/milestones{/number}","notifications_url":"https://api.github.com/repos/rcbops/rpc-gating/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rcbops/rpc-gating/labels{/name}","releases_url":"https://api.github.com/repos/rcbops/rpc-gating/releases{/id}","deployments_url":"https://api.github.com/repos/rcbops/rpc-gating/deployments","created_at":"2017-01-18T17:27:57Z","updated_at":"2018-12-06T18:17:37Z","pushed_at":"2018-12-06T18:37:36Z","git_url":"git://github.com/rcbops/rpc-gating.git","ssh_url":"git@github.com:rcbops/rpc-gating.git","clone_url":"https://github.com/rcbops/rpc-gating.git","svn_url":"https://github.com/rcbops/rpc-gating","homepage":null,"size":5243,"stargazers_count":7,"watchers_count":7,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":45,"open_issues":7,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229"},"html":{"href":"https://github.com/rcbops/rpc-gating/pull/1229"},"issue":{"href":"https://api.github.com/repos/rcbops/rpc-gating/issues/1229"},"comments":{"href":"https://api.github.com/repos/rcbops/rpc-gating/issues/1229/comments"},"review_comments":{"href":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229/comments"},"review_comment":{"href":"https://api.github.com/repos/rcbops/rpc-gating/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rcbops/rpc-gating/pulls/1229/commits"},"statuses":{"href":"https://api.github.com/repos/rcbops/rpc-gating/statuses/e7a6f011aa8ed6d180744f818debfddf38d48d8a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"dealako"}}