Skip to content

Conversation

nettiopsu
Copy link

If a query string contains a parameter which is not represented in a form, then elementsByName[name] is undefined, which breaks $.each function and any code that goes after deserialization will not be started ($.each function can not accept undefined parameters, as it contains undefined.length statement)

…form, then elementsByName[name] is undefined, which breaks $.each function and any code that goes after deserialization
@evanbarter
Copy link

Just ran in to this issue, PR addressed it. Thanks!

@kflorence
Copy link
Owner

@nettiopsu thanks for the contribution. can you write a test case for this?

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

Successfully merging this pull request may close these issues.

3 participants