Support curl parameters without values (switch parameters)
ThePoShWolf opened this issue · 1 comments
ThePoShWolf commented
Currently the regex in ConvertTo-IRM assumes that all parameters in the user supplied curl string have a value. This was a naive assumption that needs to be fixed.
ThePoShWolf commented
I've got a pretty good idea how to update the regex to fix this. Currently it looks after the parameter name looking for a single quote, double quote, or anything else. Instead, it should look far a single quote, double quote, or anything other than a -
.