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.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
encodeUriQuery differs in Angular.js and ngResource/resource.js & it's duplicated #12319
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.
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.
Activity
lgalfaso commentedon Jul 12, 2015
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.