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

Non-string values in hash passed to ParsingNesting::Tree::Node.to_query() cause error if to_s of value contains a space #88

Open
martinlovell opened this issue May 23, 2018 · 0 comments

Comments

@martinlovell
Copy link

Calling ParsingNesting::Tree::Node.to_query() with a hash containing a value that is not a string and contains a space in its to_s representation causes an error.
ParsingNesting::Tree::Node.build_local_params attempts to wrap the value using "'" + v + "'". It could use "'#{v}'" to properly handle non-string values, such as arrays.

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