-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
square brackets confuse the parser #513
Comments
I agree this is mis-parsed, but why are you using |
I don't think this really matters... Why is it json? I need the final object to look like this: { one single prop. No more. the only way to carry some data is to put in the propName (value is limited to 20 chars) Oh, well, its a long story... I might encode the json string... but the bug would still persist! m. |
would |
As long as propName has no limit to what characters it can contain. |
It has some limits that are due to the browser's query string standards, and that, not JS, determines what must work or not. It looks like the square and curly brackets are what causes issues here, since Additionally, if you start with the JS object you want, then |
Hello,
while parsing a body like the following, qs fails:
buttons[commands.identifier_orders_merge_action|{"orders":["47441","47440"]}]=Unisci+ordini
This becomes something like:
'buttons[commands.identifier_orders_merge_action|{"orders":': { '"47441","47440"': 'Unisci ordini' }
while it should be something more similar to this:
'buttons[commands.identifier_orders_merge_action|{"orders":{ '"47441","47440"}]': 'Unisci ordini'
The text was updated successfully, but these errors were encountered: