{"action":"opened","number":25,"pull_request":{"url":"https://api.github.com/repos/nfarina/xmldoc/pulls/25","id":45147650,"html_url":"https://github.com/nfarina/xmldoc/pull/25","diff_url":"https://github.com/nfarina/xmldoc/pull/25.diff","patch_url":"https://github.com/nfarina/xmldoc/pull/25.patch","issue_url":"https://api.github.com/repos/nfarina/xmldoc/issues/25","number":25,"state":"open","locked":false,"title":"Fix escaping of xml values and attributes","user":{"login":"wotzisname","id":5259000,"avatar_url":"https://avatars.githubusercontent.com/u/5259000?v=3","gravatar_id":"","url":"https://api.github.com/users/wotzisname","html_url":"https://github.com/wotzisname","followers_url":"https://api.github.com/users/wotzisname/followers","following_url":"https://api.github.com/users/wotzisname/following{/other_user}","gists_url":"https://api.github.com/users/wotzisname/gists{/gist_id}","starred_url":"https://api.github.com/users/wotzisname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wotzisname/subscriptions","organizations_url":"https://api.github.com/users/wotzisname/orgs","repos_url":"https://api.github.com/users/wotzisname/repos","events_url":"https://api.github.com/users/wotzisname/events{/privacy}","received_events_url":"https://api.github.com/users/wotzisname/received_events","type":"User","site_admin":false},"body":"When using toString the encoding is incorrect. It uses UriEncode for attributes which means e.g. a \" becomes %22 not &quot;\r\nAlso some escape characters were missing in encoding values, e.g. &apos; and &quot;","created_at":"2015-09-16T09:12:52Z","updated_at":"2015-09-16T09:12:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nfarina/xmldoc/pulls/25/commits","review_comments_url":"https://api.github.com/repos/nfarina/xmldoc/pulls/25/comments","review_comment_url":"https://api.github.com/repos/nfarina/xmldoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nfarina/xmldoc/issues/25/comments","statuses_url":"https://api.github.com/repos/nfarina/xmldoc/statuses/2fde5e4e702ce3a116201502bf0285d2eaddaba8","head":{"label":"wotzisname:master","ref":"master","sha":"2fde5e4e702ce3a116201502bf0285d2eaddaba8","user":{"login":"wotzisname","id":5259000,"avatar_url":"https://avatars.githubusercontent.com/u/5259000?v=3","gravatar_id":"","url":"https://api.github.com/users/wotzisname","html_url":"https://github.com/wotzisname","followers_url":"https://api.github.com/users/wotzisname/followers","following_url":"https://api.github.com/users/wotzisname/following{/other_user}","gists_url":"https://api.github.com/users/wotzisname/gists{/gist_id}","starred_url":"https://api.github.com/users/wotzisname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wotzisname/subscriptions","organizations_url":"https://api.github.com/users/wotzisname/orgs","repos_url":"https://api.github.com/users/wotzisname/repos","events_url":"https://api.github.com/users/wotzisname/events{/privacy}","received_events_url":"https://api.github.com/users/wotzisname/received_events","type":"User","site_admin":false},"repo":{"id":42575208,"name":"xmldoc","full_name":"wotzisname/xmldoc","owner":{"login":"wotzisname","id":5259000,"avatar_url":"https://avatars.githubusercontent.com/u/5259000?v=3","gravatar_id":"","url":"https://api.github.com/users/wotzisname","html_url":"https://github.com/wotzisname","followers_url":"https://api.github.com/users/wotzisname/followers","following_url":"https://api.github.com/users/wotzisname/following{/other_user}","gists_url":"https://api.github.com/users/wotzisname/gists{/gist_id}","starred_url":"https://api.github.com/users/wotzisname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wotzisname/subscriptions","organizations_url":"https://api.github.com/users/wotzisname/orgs","repos_url":"https://api.github.com/users/wotzisname/repos","events_url":"https://api.github.com/users/wotzisname/events{/privacy}","received_events_url":"https://api.github.com/users/wotzisname/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wotzisname/xmldoc","description":"A lightweight XML Document class for JavaScript.","fork":true,"url":"https://api.github.com/repos/wotzisname/xmldoc","forks_url":"https://api.github.com/repos/wotzisname/xmldoc/forks","keys_url":"https://api.github.com/repos/wotzisname/xmldoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wotzisname/xmldoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wotzisname/xmldoc/teams","hooks_url":"https://api.github.com/repos/wotzisname/xmldoc/hooks","issue_events_url":"https://api.github.com/repos/wotzisname/xmldoc/issues/events{/number}","events_url":"https://api.github.com/repos/wotzisname/xmldoc/events","assignees_url":"https://api.github.com/repos/wotzisname/xmldoc/assignees{/user}","branches_url":"https://api.github.com/repos/wotzisname/xmldoc/branches{/branch}","tags_url":"https://api.github.com/repos/wotzisname/xmldoc/tags","blobs_url":"https://api.github.com/repos/wotzisname/xmldoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wotzisname/xmldoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wotzisname/xmldoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/wotzisname/xmldoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wotzisname/xmldoc/statuses/{sha}","languages_url":"https://api.github.com/repos/wotzisname/xmldoc/languages","stargazers_url":"https://api.github.com/repos/wotzisname/xmldoc/stargazers","contributors_url":"https://api.github.com/repos/wotzisname/xmldoc/contributors","subscribers_url":"https://api.github.com/repos/wotzisname/xmldoc/subscribers","subscription_url":"https://api.github.com/repos/wotzisname/xmldoc/subscription","commits_url":"https://api.github.com/repos/wotzisname/xmldoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/wotzisname/xmldoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/wotzisname/xmldoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/wotzisname/xmldoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/wotzisname/xmldoc/contents/{+path}","compare_url":"https://api.github.com/repos/wotzisname/xmldoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wotzisname/xmldoc/merges","archive_url":"https://api.github.com/repos/wotzisname/xmldoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wotzisname/xmldoc/downloads","issues_url":"https://api.github.com/repos/wotzisname/xmldoc/issues{/number}","pulls_url":"https://api.github.com/repos/wotzisname/xmldoc/pulls{/number}","milestones_url":"https://api.github.com/repos/wotzisname/xmldoc/milestones{/number}","notifications_url":"https://api.github.com/repos/wotzisname/xmldoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wotzisname/xmldoc/labels{/name}","releases_url":"https://api.github.com/repos/wotzisname/xmldoc/releases{/id}","created_at":"2015-09-16T08:38:07Z","updated_at":"2015-09-16T08:38:08Z","pushed_at":"2015-09-16T09:09:13Z","git_url":"git://github.com/wotzisname/xmldoc.git","ssh_url":"git@github.com:wotzisname/xmldoc.git","clone_url":"https://github.com/wotzisname/xmldoc.git","svn_url":"https://github.com/wotzisname/xmldoc","homepage":null,"size":386,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"nfarina:master","ref":"master","sha":"c04650314afe83f62e134b80e4b5063e069d4a08","user":{"login":"nfarina","id":117280,"avatar_url":"https://avatars.githubusercontent.com/u/117280?v=3","gravatar_id":"","url":"https://api.github.com/users/nfarina","html_url":"https://github.com/nfarina","followers_url":"https://api.github.com/users/nfarina/followers","following_url":"https://api.github.com/users/nfarina/following{/other_user}","gists_url":"https://api.github.com/users/nfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/nfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfarina/subscriptions","organizations_url":"https://api.github.com/users/nfarina/orgs","repos_url":"https://api.github.com/users/nfarina/repos","events_url":"https://api.github.com/users/nfarina/events{/privacy}","received_events_url":"https://api.github.com/users/nfarina/received_events","type":"User","site_admin":false},"repo":{"id":6392290,"name":"xmldoc","full_name":"nfarina/xmldoc","owner":{"login":"nfarina","id":117280,"avatar_url":"https://avatars.githubusercontent.com/u/117280?v=3","gravatar_id":"","url":"https://api.github.com/users/nfarina","html_url":"https://github.com/nfarina","followers_url":"https://api.github.com/users/nfarina/followers","following_url":"https://api.github.com/users/nfarina/following{/other_user}","gists_url":"https://api.github.com/users/nfarina/gists{/gist_id}","starred_url":"https://api.github.com/users/nfarina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfarina/subscriptions","organizations_url":"https://api.github.com/users/nfarina/orgs","repos_url":"https://api.github.com/users/nfarina/repos","events_url":"https://api.github.com/users/nfarina/events{/privacy}","received_events_url":"https://api.github.com/users/nfarina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nfarina/xmldoc","description":"A lightweight XML Document class for JavaScript.","fork":false,"url":"https://api.github.com/repos/nfarina/xmldoc","forks_url":"https://api.github.com/repos/nfarina/xmldoc/forks","keys_url":"https://api.github.com/repos/nfarina/xmldoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nfarina/xmldoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nfarina/xmldoc/teams","hooks_url":"https://api.github.com/repos/nfarina/xmldoc/hooks","issue_events_url":"https://api.github.com/repos/nfarina/xmldoc/issues/events{/number}","events_url":"https://api.github.com/repos/nfarina/xmldoc/events","assignees_url":"https://api.github.com/repos/nfarina/xmldoc/assignees{/user}","branches_url":"https://api.github.com/repos/nfarina/xmldoc/branches{/branch}","tags_url":"https://api.github.com/repos/nfarina/xmldoc/tags","blobs_url":"https://api.github.com/repos/nfarina/xmldoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nfarina/xmldoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nfarina/xmldoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/nfarina/xmldoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nfarina/xmldoc/statuses/{sha}","languages_url":"https://api.github.com/repos/nfarina/xmldoc/languages","stargazers_url":"https://api.github.com/repos/nfarina/xmldoc/stargazers","contributors_url":"https://api.github.com/repos/nfarina/xmldoc/contributors","subscribers_url":"https://api.github.com/repos/nfarina/xmldoc/subscribers","subscription_url":"https://api.github.com/repos/nfarina/xmldoc/subscription","commits_url":"https://api.github.com/repos/nfarina/xmldoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/nfarina/xmldoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/nfarina/xmldoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/nfarina/xmldoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/nfarina/xmldoc/contents/{+path}","compare_url":"https://api.github.com/repos/nfarina/xmldoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nfarina/xmldoc/merges","archive_url":"https://api.github.com/repos/nfarina/xmldoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nfarina/xmldoc/downloads","issues_url":"https://api.github.com/repos/nfarina/xmldoc/issues{/number}","pulls_url":"https://api.github.com/repos/nfarina/xmldoc/pulls{/number}","milestones_url":"https://api.github.com/repos/nfarina/xmldoc/milestones{/number}","notifications_url":"https://api.github.com/repos/nfarina/xmldoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nfarina/xmldoc/labels{/name}","releases_url":"https://api.github.com/repos/nfarina/xmldoc/releases{/id}","created_at":"2012-10-25T18:29:38Z","updated_at":"2015-09-05T19:30:47Z","pushed_at":"2015-08-06T18:44:05Z","git_url":"git://github.com/nfarina/xmldoc.git","ssh_url":"git@github.com:nfarina/xmldoc.git","clone_url":"https://github.com/nfarina/xmldoc.git","svn_url":"https://github.com/nfarina/xmldoc","homepage":null,"size":386,"stargazers_count":121,"watchers_count":121,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":4,"forks":30,"open_issues":4,"watchers":121,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nfarina/xmldoc/pulls/25"},"html":{"href":"https://github.com/nfarina/xmldoc/pull/25"},"issue":{"href":"https://api.github.com/repos/nfarina/xmldoc/issues/25"},"comments":{"href":"https://api.github.com/repos/nfarina/xmldoc/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/nfarina/xmldoc/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/nfarina/xmldoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nfarina/xmldoc/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/nfarina/xmldoc/statuses/2fde5e4e702ce3a116201502bf0285d2eaddaba8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":2,"changed_files":1}}