You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Apparently the ngResource code has to be updated as well.
Though this is a trivial change to make I'm not filing a PR yet. I'd like to discuss the need to DRY this a bit: even though it's fixed in ngResource those functions stay susceptible to inconsistency.
The text was updated successfully, but these errors were encountered:
Given that ngResources is not part of the core and given that it does not make any sense for Angular to expose the method encodeUriQuery, then I think that just a comment that specifies that these two methods need to be kept in sync, should be enough.
Please compare those 2 pieces of code:
angular.js@L1301
and in ngResource/resource.js@L405
Please notice the
replace(/%3B/gi, ';').
which is present in Angular.js but it's not in ngResource/resource.jsangular.js/src/Angular.js
Line 1307 in 33f7f26
The line was introduced in #8397 and released in 1.3.0-beta.18.
Apparently the
ngResource
code has to be updated as well.Though this is a trivial change to make I'm not filing a PR yet. I'd like to discuss the need to DRY this a bit: even though it's fixed in ngResource those functions stay susceptible to inconsistency.
The text was updated successfully, but these errors were encountered: