Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

resource params doesn't treat array values properly #1919

Closed
marknadig opened this issue Jan 30, 2013 · 1 comment
Closed

resource params doesn't treat array values properly #1919

marknadig opened this issue Jan 30, 2013 · 1 comment

Comments

@marknadig
Copy link
Contributor

This issue was addressed for $http service here #1363. However, resource is currently doing its own encoding of params.

var R = $resource('/Path/:a');
R.get({a: 'foo', bar: ['baz1', 'baz2']});

results in a query like

/Path/doh?bar=baz1,baz2

and should follow the $http encoding:

/Path/doh?bar=baz1&bar=baz2
@btford btford closed this as completed Aug 24, 2013
@btford
Copy link
Contributor

btford commented Aug 24, 2013

As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.

Please try the newest versions of Angular (1.0.8 and 1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants