{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular.js/issues/15159","repository_url":"https://api.github.com/repos/angular/angular.js","labels_url":"https://api.github.com/repos/angular/angular.js/issues/15159/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular.js/issues/15159/comments","events_url":"https://api.github.com/repos/angular/angular.js/issues/15159/events","html_url":"https://github.com/angular/angular.js/issues/15159","id":177883316,"number":15159,"title":"Deprecate $resourceProvider.defaults.stripTrailingSlashes","user":{"login":"mgol","id":1758366,"avatar_url":"https://avatars.githubusercontent.com/u/1758366?v=3","gravatar_id":"","url":"https://api.github.com/users/mgol","html_url":"https://github.com/mgol","followers_url":"https://api.github.com/users/mgol/followers","following_url":"https://api.github.com/users/mgol/following{/other_user}","gists_url":"https://api.github.com/users/mgol/gists{/gist_id}","starred_url":"https://api.github.com/users/mgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgol/subscriptions","organizations_url":"https://api.github.com/users/mgol/orgs","repos_url":"https://api.github.com/users/mgol/repos","events_url":"https://api.github.com/users/mgol/events{/privacy}","received_events_url":"https://api.github.com/users/mgol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular.js/labels/component:%20ngResource","name":"component: ngResource","color":"0b02e1"},{"url":"https://api.github.com/repos/angular/angular.js/labels/frequency:%20low","name":"frequency: low","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular.js/labels/needs:%20breaking%20change","name":"needs: breaking change","color":"e11d21"},{"url":"https://api.github.com/repos/angular/angular.js/labels/severity:%20inconvenient","name":"severity: inconvenient","color":"006b75"},{"url":"https://api.github.com/repos/angular/angular.js/labels/type:%20refactor","name":"type: refactor","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"mgol","id":1758366,"avatar_url":"https://avatars.githubusercontent.com/u/1758366?v=3","gravatar_id":"","url":"https://api.github.com/users/mgol","html_url":"https://github.com/mgol","followers_url":"https://api.github.com/users/mgol/followers","following_url":"https://api.github.com/users/mgol/following{/other_user}","gists_url":"https://api.github.com/users/mgol/gists{/gist_id}","starred_url":"https://api.github.com/users/mgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgol/subscriptions","organizations_url":"https://api.github.com/users/mgol/orgs","repos_url":"https://api.github.com/users/mgol/repos","events_url":"https://api.github.com/users/mgol/events{/privacy}","received_events_url":"https://api.github.com/users/mgol/received_events","type":"User","site_admin":false},"assignees":[{"login":"mgol","id":1758366,"avatar_url":"https://avatars.githubusercontent.com/u/1758366?v=3","gravatar_id":"","url":"https://api.github.com/users/mgol","html_url":"https://github.com/mgol","followers_url":"https://api.github.com/users/mgol/followers","following_url":"https://api.github.com/users/mgol/following{/other_user}","gists_url":"https://api.github.com/users/mgol/gists{/gist_id}","starred_url":"https://api.github.com/users/mgol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgol/subscriptions","organizations_url":"https://api.github.com/users/mgol/orgs","repos_url":"https://api.github.com/users/mgol/repos","events_url":"https://api.github.com/users/mgol/events{/privacy}","received_events_url":"https://api.github.com/users/mgol/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/angular/angular.js/milestones/127","html_url":"https://github.com/angular/angular.js/milestones/1.6.0-rc.1","labels_url":"https://api.github.com/repos/angular/angular.js/milestones/127/labels","id":1999528,"number":127,"title":"1.6.0-rc.1","description":"Stuff that must be merged before we release 1.6.0-rc.1","creator":{"login":"petebacondarwin","id":15655,"avatar_url":"https://avatars.githubusercontent.com/u/15655?v=3","gravatar_id":"","url":"https://api.github.com/users/petebacondarwin","html_url":"https://github.com/petebacondarwin","followers_url":"https://api.github.com/users/petebacondarwin/followers","following_url":"https://api.github.com/users/petebacondarwin/following{/other_user}","gists_url":"https://api.github.com/users/petebacondarwin/gists{/gist_id}","starred_url":"https://api.github.com/users/petebacondarwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petebacondarwin/subscriptions","organizations_url":"https://api.github.com/users/petebacondarwin/orgs","repos_url":"https://api.github.com/users/petebacondarwin/repos","events_url":"https://api.github.com/users/petebacondarwin/events{/privacy}","received_events_url":"https://api.github.com/users/petebacondarwin/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":6,"state":"open","created_at":"2016-09-12T20:31:34Z","updated_at":"2016-09-19T20:05:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-19T20:05:47Z","updated_at":"2016-09-19T20:05:47Z","closed_at":null,"body":"***Note*: This issue is blocked on #15158.**\r\n\r\n***Note*: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.**\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nA refactor.\r\n\r\n\r\n**What is the current behavior?**\r\n`$resourceProvider.defaults.stripTrailingSlashes` may have a `true` value (which is now a default, to be changed in #15158).\r\n\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).**\r\nN/A\r\n\r\n\r\n**What is the expected behavior?**\r\n`$resourceProvider.defaults.stripTrailingSlashes` shouldn't exist. People should pass to `$resource` URLs in the form the backend expects them instead of relying on Angular to convert them.\r\n\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nThe flag was only added because `$resource` was stripping trailing slashes and a lot of people (including me) were complaining they can't use `$resource` with their backend if it used URLs with trailing slashes (one example being Django). We don't have a flag to ensure a trailing slash, only to remove one - if we considered this API important, for consistency we'd have to add the other one as well. This doesn't seem worth it; there's no big gain in passing URLs different to the ones recognized by the backend to `$resource`.\r\n\r\n\r\n**Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.**\r\nN/A\r\n\r\n\r\n**Other information (e.g. stacktraces, related issues, suggestions how to fix)**\r\nN/A"}}
{"actor":{"display_login":"mgol"}}