{"action":"opened","number":14462,"pull_request":{"url":"https://api.github.com/repos/angular/angular.js/pulls/14462","id":66948974,"html_url":"https://github.com/angular/angular.js/pull/14462","diff_url":"https://github.com/angular/angular.js/pull/14462.diff","patch_url":"https://github.com/angular/angular.js/pull/14462.patch","issue_url":"https://api.github.com/repos/angular/angular.js/issues/14462","number":14462,"state":"open","locked":false,"title":"SVG bug fix v1.5.x","user":{"login":"dancingfrog","id":12377567,"avatar_url":"https://avatars.githubusercontent.com/u/12377567?v=3","gravatar_id":"","url":"https://api.github.com/users/dancingfrog","html_url":"https://github.com/dancingfrog","followers_url":"https://api.github.com/users/dancingfrog/followers","following_url":"https://api.github.com/users/dancingfrog/following{/other_user}","gists_url":"https://api.github.com/users/dancingfrog/gists{/gist_id}","starred_url":"https://api.github.com/users/dancingfrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancingfrog/subscriptions","organizations_url":"https://api.github.com/users/dancingfrog/orgs","repos_url":"https://api.github.com/users/dancingfrog/repos","events_url":"https://api.github.com/users/dancingfrog/events{/privacy}","received_events_url":"https://api.github.com/users/dancingfrog/received_events","type":"User","site_admin":false},"body":"**What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)**\r\n\r\nThis commit fixes a urlResolve error which is produced when AngularJS is directly loaded/called by a native SVG file.\r\n\r\n**What is the current behavior? (You can also link to an open issue here)**\r\n #12484\r\nWhen used directly in an SVG file, AngularJS does not properly parse URL components. This behavior can be demonstrated by simply loading the current standard (bower) distribution of AngularJS in to a simple \"hello angular\" SVG example, like this: \r\n\r\nhttps://github.com/Uni-Sol/svg-demos/blob/23e32783493198ef39d0a9415f834c779d3b365e/data/hello-angular.svg\r\n![svg-url_resolve-bug](https://cloud.githubusercontent.com/assets/12377567/14581488/a91f9482-03bc-11e6-9c73-654f27a5dd20.png)\r\n\r\n\r\n**What is the new behavior (if this is a feature change)?**\r\n\r\nAngularJS properly resolves URL parts when loaded by an SVG file.\r\n\r\n**Does this PR introduce a breaking change?**\r\n\r\nNope.\r\n\r\n**Please check if the PR fulfills these requirements**\r\n- [X] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format\r\n- [X] Tests for the changes have been added (for bug fixes / features)\r\n- [X] Docs have been added / updated (for bug fixes / features)\r\n\r\n**Other information**:\r\n\r\n","created_at":"2016-04-19T01:46:31Z","updated_at":"2016-04-19T01:46:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/angular/angular.js/pulls/14462/commits","review_comments_url":"https://api.github.com/repos/angular/angular.js/pulls/14462/comments","review_comment_url":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/14462/comments","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/e3ba57cae5e63bf182e1535dd0135d2ab63232cd","head":{"label":"Real-Currents:v1.5.x","ref":"v1.5.x","sha":"e3ba57cae5e63bf182e1535dd0135d2ab63232cd","user":{"login":"Real-Currents","id":12345531,"avatar_url":"https://avatars.githubusercontent.com/u/12345531?v=3","gravatar_id":"","url":"https://api.github.com/users/Real-Currents","html_url":"https://github.com/Real-Currents","followers_url":"https://api.github.com/users/Real-Currents/followers","following_url":"https://api.github.com/users/Real-Currents/following{/other_user}","gists_url":"https://api.github.com/users/Real-Currents/gists{/gist_id}","starred_url":"https://api.github.com/users/Real-Currents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Real-Currents/subscriptions","organizations_url":"https://api.github.com/users/Real-Currents/orgs","repos_url":"https://api.github.com/users/Real-Currents/repos","events_url":"https://api.github.com/users/Real-Currents/events{/privacy}","received_events_url":"https://api.github.com/users/Real-Currents/received_events","type":"Organization","site_admin":false},"repo":{"id":25400777,"name":"angular.js","full_name":"Real-Currents/angular.js","owner":{"login":"Real-Currents","id":12345531,"avatar_url":"https://avatars.githubusercontent.com/u/12345531?v=3","gravatar_id":"","url":"https://api.github.com/users/Real-Currents","html_url":"https://github.com/Real-Currents","followers_url":"https://api.github.com/users/Real-Currents/followers","following_url":"https://api.github.com/users/Real-Currents/following{/other_user}","gists_url":"https://api.github.com/users/Real-Currents/gists{/gist_id}","starred_url":"https://api.github.com/users/Real-Currents/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Real-Currents/subscriptions","organizations_url":"https://api.github.com/users/Real-Currents/orgs","repos_url":"https://api.github.com/users/Real-Currents/repos","events_url":"https://api.github.com/users/Real-Currents/events{/privacy}","received_events_url":"https://api.github.com/users/Real-Currents/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Real-Currents/angular.js","description":"HTML enhanced for web apps","fork":true,"url":"https://api.github.com/repos/Real-Currents/angular.js","forks_url":"https://api.github.com/repos/Real-Currents/angular.js/forks","keys_url":"https://api.github.com/repos/Real-Currents/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Real-Currents/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Real-Currents/angular.js/teams","hooks_url":"https://api.github.com/repos/Real-Currents/angular.js/hooks","issue_events_url":"https://api.github.com/repos/Real-Currents/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/Real-Currents/angular.js/events","assignees_url":"https://api.github.com/repos/Real-Currents/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/Real-Currents/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/Real-Currents/angular.js/tags","blobs_url":"https://api.github.com/repos/Real-Currents/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Real-Currents/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Real-Currents/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/Real-Currents/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Real-Currents/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/Real-Currents/angular.js/languages","stargazers_url":"https://api.github.com/repos/Real-Currents/angular.js/stargazers","contributors_url":"https://api.github.com/repos/Real-Currents/angular.js/contributors","subscribers_url":"https://api.github.com/repos/Real-Currents/angular.js/subscribers","subscription_url":"https://api.github.com/repos/Real-Currents/angular.js/subscription","commits_url":"https://api.github.com/repos/Real-Currents/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/Real-Currents/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/Real-Currents/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/Real-Currents/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/Real-Currents/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/Real-Currents/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Real-Currents/angular.js/merges","archive_url":"https://api.github.com/repos/Real-Currents/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Real-Currents/angular.js/downloads","issues_url":"https://api.github.com/repos/Real-Currents/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/Real-Currents/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/Real-Currents/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/Real-Currents/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Real-Currents/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/Real-Currents/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/Real-Currents/angular.js/deployments","created_at":"2014-10-18T15:09:58Z","updated_at":"2016-04-16T13:52:11Z","pushed_at":"2016-04-19T01:45:40Z","git_url":"git://github.com/Real-Currents/angular.js.git","ssh_url":"git@github.com:Real-Currents/angular.js.git","clone_url":"https://github.com/Real-Currents/angular.js.git","svn_url":"https://github.com/Real-Currents/angular.js","homepage":"http://angularjs.org","size":120364,"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":"real/currents"}},"base":{"label":"angular:v1.5.x","ref":"v1.5.x","sha":"1c9b9e24ede7efc10ce4d53c6ab5528cc77e79d7","user":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"repo":{"id":460078,"name":"angular.js","full_name":"angular/angular.js","owner":{"login":"angular","id":139426,"avatar_url":"https://avatars.githubusercontent.com/u/139426?v=3","gravatar_id":"","url":"https://api.github.com/users/angular","html_url":"https://github.com/angular","followers_url":"https://api.github.com/users/angular/followers","following_url":"https://api.github.com/users/angular/following{/other_user}","gists_url":"https://api.github.com/users/angular/gists{/gist_id}","starred_url":"https://api.github.com/users/angular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angular/subscriptions","organizations_url":"https://api.github.com/users/angular/orgs","repos_url":"https://api.github.com/users/angular/repos","events_url":"https://api.github.com/users/angular/events{/privacy}","received_events_url":"https://api.github.com/users/angular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/angular/angular.js","description":"HTML enhanced for web apps","fork":false,"url":"https://api.github.com/repos/angular/angular.js","forks_url":"https://api.github.com/repos/angular/angular.js/forks","keys_url":"https://api.github.com/repos/angular/angular.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angular/angular.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angular/angular.js/teams","hooks_url":"https://api.github.com/repos/angular/angular.js/hooks","issue_events_url":"https://api.github.com/repos/angular/angular.js/issues/events{/number}","events_url":"https://api.github.com/repos/angular/angular.js/events","assignees_url":"https://api.github.com/repos/angular/angular.js/assignees{/user}","branches_url":"https://api.github.com/repos/angular/angular.js/branches{/branch}","tags_url":"https://api.github.com/repos/angular/angular.js/tags","blobs_url":"https://api.github.com/repos/angular/angular.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angular/angular.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angular/angular.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/angular/angular.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angular/angular.js/statuses/{sha}","languages_url":"https://api.github.com/repos/angular/angular.js/languages","stargazers_url":"https://api.github.com/repos/angular/angular.js/stargazers","contributors_url":"https://api.github.com/repos/angular/angular.js/contributors","subscribers_url":"https://api.github.com/repos/angular/angular.js/subscribers","subscription_url":"https://api.github.com/repos/angular/angular.js/subscription","commits_url":"https://api.github.com/repos/angular/angular.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/angular/angular.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/angular/angular.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/angular/angular.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/angular/angular.js/contents/{+path}","compare_url":"https://api.github.com/repos/angular/angular.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angular/angular.js/merges","archive_url":"https://api.github.com/repos/angular/angular.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angular/angular.js/downloads","issues_url":"https://api.github.com/repos/angular/angular.js/issues{/number}","pulls_url":"https://api.github.com/repos/angular/angular.js/pulls{/number}","milestones_url":"https://api.github.com/repos/angular/angular.js/milestones{/number}","notifications_url":"https://api.github.com/repos/angular/angular.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angular/angular.js/labels{/name}","releases_url":"https://api.github.com/repos/angular/angular.js/releases{/id}","deployments_url":"https://api.github.com/repos/angular/angular.js/deployments","created_at":"2010-01-06T00:34:37Z","updated_at":"2016-04-19T01:30:20Z","pushed_at":"2016-04-18T20:16:14Z","git_url":"git://github.com/angular/angular.js.git","ssh_url":"git@github.com:angular/angular.js.git","clone_url":"https://github.com/angular/angular.js.git","svn_url":"https://github.com/angular/angular.js","homepage":"http://angularjs.org","size":151186,"stargazers_count":48615,"watchers_count":48615,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23118,"mirror_url":null,"open_issues_count":1127,"forks":23118,"open_issues":1127,"watchers":48615,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14462"},"html":{"href":"https://github.com/angular/angular.js/pull/14462"},"issue":{"href":"https://api.github.com/repos/angular/angular.js/issues/14462"},"comments":{"href":"https://api.github.com/repos/angular/angular.js/issues/14462/comments"},"review_comments":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14462/comments"},"review_comment":{"href":"https://api.github.com/repos/angular/angular.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angular/angular.js/pulls/14462/commits"},"statuses":{"href":"https://api.github.com/repos/angular/angular.js/statuses/e3ba57cae5e63bf182e1535dd0135d2ab63232cd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":28,"deletions":22,"changed_files":1}}