Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query string params causes error #1151

Open
dburles opened this issue Jan 1, 2015 · 1 comment
Open

Query string params causes error #1151

dburles opened this issue Jan 1, 2015 · 1 comment

Comments

@dburles
Copy link
Contributor

dburles commented Jan 1, 2015

Passing say ?foo=1&foo[]=1 causes an error

TypeError: Object 1 has no method 'push'
    at packages/iron:url/lib/url.js:110:1
    at Array.forEach (native)
    at Function._.each._.forEach (packages/underscore/underscore.js:105:1)
    at Function.Url.fromQueryString (packages/iron:url/lib/url.js:102:1)
    at Function.Url.parse (packages/iron:url/lib/url.js:206:1)
    at Function.Url.normalize (packages/iron:url/lib/url.js:59:1)
    at [object Object].Url.test (packages/iron:url/lib/url.js:247:1)
    at [object Object].Handler.test (packages/iron:middleware-stack/lib/handler.js:90:1)
    at Function.Router.findFirstRoute (packages/iron:router/lib/router.js:160:1)
    at Function.Router.createController (packages/iron:router/lib/router.js:191:1)
dburles added a commit to dburles/iron-url that referenced this issue Jan 1, 2015
@dburles
Copy link
Contributor Author

dburles commented Jan 1, 2015

iron-meteor/iron-url#6

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

No branches or pull requests

1 participant