-
Notifications
You must be signed in to change notification settings - Fork 85
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
Fixes #20348 - Inconsistently escaped quotes for Host Parameter #290
Conversation
@apuntamb thank you for the patch! I'd also recommend to start with adding new test covering the syntax you want to add and develop towards the green tests. let me know if you need any help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see the comment above
@mbacovsky thanks for the review. So, currently, with this change, tests are failing only for array parsing. Remaining tests are green. So, how should I go about it ? |
@mbacovsky any suggestions on my above comment? |
Apologies for the delay.
Thank you. |
@apuntamb, np, take your time! |
@mbacovsky thanks for the detailed answers! To add to those, in case of comma separated list, On debugging, the value of |
@tstrachota @mbacovsky any updates ? |
@mbacovsky ping on this. |
@apuntamb sorry for losing this from my radar, @bkearney thanks for the poke.
gives
and sends to API as:
Here it seems it works properly and does not need fixing. Just the quoting is tricky. Maybe doc update would help. What do you think? Another case would be to pass The whole list as a string e.g.:
but I didn't found a way to do that. I guess we should define first what input and output we want in this case and then fix the parser. We may consider replacing the regexp parser with something similar to |
@mbacovsky @apuntamb |
@shiramax, @mbacovsky, To add type for each param inside this command |
@shiramax and @kgaikwad thank you for your inputs. |
@apuntamb, thank you for your effort on this. I found out the original issue was fixed with 494ae8e3db821 that was focusing on list values which had similar problems. As part of the work there the usage of lists and key/values was made consistent. Therefore I'm going close the pr in favor of the mentioned patch and update the related bugs accordingly. If you have any concerns about the solution please let me know. |
No description provided.