square brackets confuse the parser
Author: manuxioCreated Oct 10, 2024Updated Mar 14, 2026
Labelsbughelp wantedparsestringify
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'
Source: ljharb/qs