{"action":"closed","number":184,"pull_request":{"url":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/184","id":94526921,"html_url":"https://github.com/kbsali/php-redmine-api/pull/184","diff_url":"https://github.com/kbsali/php-redmine-api/pull/184.diff","patch_url":"https://github.com/kbsali/php-redmine-api/pull/184.patch","issue_url":"https://api.github.com/repos/kbsali/php-redmine-api/issues/184","number":184,"state":"closed","locked":false,"title":"Escape all text values for any XML element properly","user":{"login":"JanisE","id":1469104,"avatar_url":"https://avatars.githubusercontent.com/u/1469104?v=3","gravatar_id":"","url":"https://api.github.com/users/JanisE","html_url":"https://github.com/JanisE","followers_url":"https://api.github.com/users/JanisE/followers","following_url":"https://api.github.com/users/JanisE/following{/other_user}","gists_url":"https://api.github.com/users/JanisE/gists{/gist_id}","starred_url":"https://api.github.com/users/JanisE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanisE/subscriptions","organizations_url":"https://api.github.com/users/JanisE/orgs","repos_url":"https://api.github.com/users/JanisE/repos","events_url":"https://api.github.com/users/JanisE/events{/privacy}","received_events_url":"https://api.github.com/users/JanisE/received_events","type":"User","site_admin":false},"body":"Currently, only the \"description\" value gets escaped for XML. E.g., \"subject\" does not.\r\n\r\nEven then, the \"description\" value is not escaped if it does not contain new line characters. E.g., if it contains \"&\", the API request loses the description value completely.\r\n\r\nSo, here is my offer how to fix it.","created_at":"2016-11-20T18:21:26Z","updated_at":"2016-11-22T20:38:19Z","closed_at":"2016-11-22T20:38:19Z","merged_at":"2016-11-22T20:38:19Z","merge_commit_sha":"d0a8d35150b22e781d9f0a52fd4b5dea268e27d4","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/184/commits","review_comments_url":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/184/comments","review_comment_url":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kbsali/php-redmine-api/issues/184/comments","statuses_url":"https://api.github.com/repos/kbsali/php-redmine-api/statuses/c401f5e99c956e2d6073a207a83602645d8899df","head":{"label":"JanisE:master","ref":"master","sha":"c401f5e99c956e2d6073a207a83602645d8899df","user":{"login":"JanisE","id":1469104,"avatar_url":"https://avatars.githubusercontent.com/u/1469104?v=3","gravatar_id":"","url":"https://api.github.com/users/JanisE","html_url":"https://github.com/JanisE","followers_url":"https://api.github.com/users/JanisE/followers","following_url":"https://api.github.com/users/JanisE/following{/other_user}","gists_url":"https://api.github.com/users/JanisE/gists{/gist_id}","starred_url":"https://api.github.com/users/JanisE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanisE/subscriptions","organizations_url":"https://api.github.com/users/JanisE/orgs","repos_url":"https://api.github.com/users/JanisE/repos","events_url":"https://api.github.com/users/JanisE/events{/privacy}","received_events_url":"https://api.github.com/users/JanisE/received_events","type":"User","site_admin":false},"repo":{"id":74293236,"name":"php-redmine-api","full_name":"JanisE/php-redmine-api","owner":{"login":"JanisE","id":1469104,"avatar_url":"https://avatars.githubusercontent.com/u/1469104?v=3","gravatar_id":"","url":"https://api.github.com/users/JanisE","html_url":"https://github.com/JanisE","followers_url":"https://api.github.com/users/JanisE/followers","following_url":"https://api.github.com/users/JanisE/following{/other_user}","gists_url":"https://api.github.com/users/JanisE/gists{/gist_id}","starred_url":"https://api.github.com/users/JanisE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JanisE/subscriptions","organizations_url":"https://api.github.com/users/JanisE/orgs","repos_url":"https://api.github.com/users/JanisE/repos","events_url":"https://api.github.com/users/JanisE/events{/privacy}","received_events_url":"https://api.github.com/users/JanisE/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JanisE/php-redmine-api","description":"A simple PHP Redmine API client, Object Oriented","fork":true,"url":"https://api.github.com/repos/JanisE/php-redmine-api","forks_url":"https://api.github.com/repos/JanisE/php-redmine-api/forks","keys_url":"https://api.github.com/repos/JanisE/php-redmine-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JanisE/php-redmine-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JanisE/php-redmine-api/teams","hooks_url":"https://api.github.com/repos/JanisE/php-redmine-api/hooks","issue_events_url":"https://api.github.com/repos/JanisE/php-redmine-api/issues/events{/number}","events_url":"https://api.github.com/repos/JanisE/php-redmine-api/events","assignees_url":"https://api.github.com/repos/JanisE/php-redmine-api/assignees{/user}","branches_url":"https://api.github.com/repos/JanisE/php-redmine-api/branches{/branch}","tags_url":"https://api.github.com/repos/JanisE/php-redmine-api/tags","blobs_url":"https://api.github.com/repos/JanisE/php-redmine-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JanisE/php-redmine-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JanisE/php-redmine-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/JanisE/php-redmine-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JanisE/php-redmine-api/statuses/{sha}","languages_url":"https://api.github.com/repos/JanisE/php-redmine-api/languages","stargazers_url":"https://api.github.com/repos/JanisE/php-redmine-api/stargazers","contributors_url":"https://api.github.com/repos/JanisE/php-redmine-api/contributors","subscribers_url":"https://api.github.com/repos/JanisE/php-redmine-api/subscribers","subscription_url":"https://api.github.com/repos/JanisE/php-redmine-api/subscription","commits_url":"https://api.github.com/repos/JanisE/php-redmine-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/JanisE/php-redmine-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/JanisE/php-redmine-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/JanisE/php-redmine-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/JanisE/php-redmine-api/contents/{+path}","compare_url":"https://api.github.com/repos/JanisE/php-redmine-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JanisE/php-redmine-api/merges","archive_url":"https://api.github.com/repos/JanisE/php-redmine-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JanisE/php-redmine-api/downloads","issues_url":"https://api.github.com/repos/JanisE/php-redmine-api/issues{/number}","pulls_url":"https://api.github.com/repos/JanisE/php-redmine-api/pulls{/number}","milestones_url":"https://api.github.com/repos/JanisE/php-redmine-api/milestones{/number}","notifications_url":"https://api.github.com/repos/JanisE/php-redmine-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JanisE/php-redmine-api/labels{/name}","releases_url":"https://api.github.com/repos/JanisE/php-redmine-api/releases{/id}","deployments_url":"https://api.github.com/repos/JanisE/php-redmine-api/deployments","created_at":"2016-11-20T18:11:18Z","updated_at":"2016-11-20T18:11:19Z","pushed_at":"2016-11-20T18:56:18Z","git_url":"git://github.com/JanisE/php-redmine-api.git","ssh_url":"git@github.com:JanisE/php-redmine-api.git","clone_url":"https://github.com/JanisE/php-redmine-api.git","svn_url":"https://github.com/JanisE/php-redmine-api","homepage":null,"size":515,"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":"kbsali:master","ref":"master","sha":"3da51c0c811e5718201d81b2405fab5fad2b6f82","user":{"login":"kbsali","id":53676,"avatar_url":"https://avatars.githubusercontent.com/u/53676?v=3","gravatar_id":"","url":"https://api.github.com/users/kbsali","html_url":"https://github.com/kbsali","followers_url":"https://api.github.com/users/kbsali/followers","following_url":"https://api.github.com/users/kbsali/following{/other_user}","gists_url":"https://api.github.com/users/kbsali/gists{/gist_id}","starred_url":"https://api.github.com/users/kbsali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbsali/subscriptions","organizations_url":"https://api.github.com/users/kbsali/orgs","repos_url":"https://api.github.com/users/kbsali/repos","events_url":"https://api.github.com/users/kbsali/events{/privacy}","received_events_url":"https://api.github.com/users/kbsali/received_events","type":"User","site_admin":false},"repo":{"id":5999131,"name":"php-redmine-api","full_name":"kbsali/php-redmine-api","owner":{"login":"kbsali","id":53676,"avatar_url":"https://avatars.githubusercontent.com/u/53676?v=3","gravatar_id":"","url":"https://api.github.com/users/kbsali","html_url":"https://github.com/kbsali","followers_url":"https://api.github.com/users/kbsali/followers","following_url":"https://api.github.com/users/kbsali/following{/other_user}","gists_url":"https://api.github.com/users/kbsali/gists{/gist_id}","starred_url":"https://api.github.com/users/kbsali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbsali/subscriptions","organizations_url":"https://api.github.com/users/kbsali/orgs","repos_url":"https://api.github.com/users/kbsali/repos","events_url":"https://api.github.com/users/kbsali/events{/privacy}","received_events_url":"https://api.github.com/users/kbsali/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kbsali/php-redmine-api","description":"A simple PHP Redmine API client, Object Oriented","fork":false,"url":"https://api.github.com/repos/kbsali/php-redmine-api","forks_url":"https://api.github.com/repos/kbsali/php-redmine-api/forks","keys_url":"https://api.github.com/repos/kbsali/php-redmine-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kbsali/php-redmine-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kbsali/php-redmine-api/teams","hooks_url":"https://api.github.com/repos/kbsali/php-redmine-api/hooks","issue_events_url":"https://api.github.com/repos/kbsali/php-redmine-api/issues/events{/number}","events_url":"https://api.github.com/repos/kbsali/php-redmine-api/events","assignees_url":"https://api.github.com/repos/kbsali/php-redmine-api/assignees{/user}","branches_url":"https://api.github.com/repos/kbsali/php-redmine-api/branches{/branch}","tags_url":"https://api.github.com/repos/kbsali/php-redmine-api/tags","blobs_url":"https://api.github.com/repos/kbsali/php-redmine-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kbsali/php-redmine-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kbsali/php-redmine-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/kbsali/php-redmine-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kbsali/php-redmine-api/statuses/{sha}","languages_url":"https://api.github.com/repos/kbsali/php-redmine-api/languages","stargazers_url":"https://api.github.com/repos/kbsali/php-redmine-api/stargazers","contributors_url":"https://api.github.com/repos/kbsali/php-redmine-api/contributors","subscribers_url":"https://api.github.com/repos/kbsali/php-redmine-api/subscribers","subscription_url":"https://api.github.com/repos/kbsali/php-redmine-api/subscription","commits_url":"https://api.github.com/repos/kbsali/php-redmine-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/kbsali/php-redmine-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/kbsali/php-redmine-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/kbsali/php-redmine-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/kbsali/php-redmine-api/contents/{+path}","compare_url":"https://api.github.com/repos/kbsali/php-redmine-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kbsali/php-redmine-api/merges","archive_url":"https://api.github.com/repos/kbsali/php-redmine-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kbsali/php-redmine-api/downloads","issues_url":"https://api.github.com/repos/kbsali/php-redmine-api/issues{/number}","pulls_url":"https://api.github.com/repos/kbsali/php-redmine-api/pulls{/number}","milestones_url":"https://api.github.com/repos/kbsali/php-redmine-api/milestones{/number}","notifications_url":"https://api.github.com/repos/kbsali/php-redmine-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kbsali/php-redmine-api/labels{/name}","releases_url":"https://api.github.com/repos/kbsali/php-redmine-api/releases{/id}","deployments_url":"https://api.github.com/repos/kbsali/php-redmine-api/deployments","created_at":"2012-09-28T15:23:10Z","updated_at":"2016-11-13T19:18:34Z","pushed_at":"2016-11-22T20:38:19Z","git_url":"git://github.com/kbsali/php-redmine-api.git","ssh_url":"git@github.com:kbsali/php-redmine-api.git","clone_url":"https://github.com/kbsali/php-redmine-api.git","svn_url":"https://github.com/kbsali/php-redmine-api","homepage":null,"size":731,"stargazers_count":272,"watchers_count":272,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":14,"forks":122,"open_issues":14,"watchers":272,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/184"},"html":{"href":"https://github.com/kbsali/php-redmine-api/pull/184"},"issue":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/issues/184"},"comments":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/issues/184/comments"},"review_comments":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/184/comments"},"review_comment":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/pulls/184/commits"},"statuses":{"href":"https://api.github.com/repos/kbsali/php-redmine-api/statuses/c401f5e99c956e2d6073a207a83602645d8899df"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"kbsali","id":53676,"avatar_url":"https://avatars.githubusercontent.com/u/53676?v=3","gravatar_id":"","url":"https://api.github.com/users/kbsali","html_url":"https://github.com/kbsali","followers_url":"https://api.github.com/users/kbsali/followers","following_url":"https://api.github.com/users/kbsali/following{/other_user}","gists_url":"https://api.github.com/users/kbsali/gists{/gist_id}","starred_url":"https://api.github.com/users/kbsali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbsali/subscriptions","organizations_url":"https://api.github.com/users/kbsali/orgs","repos_url":"https://api.github.com/users/kbsali/repos","events_url":"https://api.github.com/users/kbsali/events{/privacy}","received_events_url":"https://api.github.com/users/kbsali/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":5,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"kbsali"}}