-
Notifications
You must be signed in to change notification settings - Fork 50
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
Butterfly CLI should allow escaped semicolons and equals as extension property value when passed using -p #360
Comments
Hello, Please let me know if I am getting it right. |
Hello @badalsarkar |
Hi @fabiocarvalho777 in this file to
should produce the desired result. But how do I go about testing it? Should I add new test and in which file? Thanks. |
@badalsarkar please, add a unit test class named Thanks!! |
Butterfly CLI option `-p` uses semi-colon to separate properties and equals to separate property from value. Now, the option '-p' accepts escaped semi-colon and equals as property value. Example `-p firstkey=value\;1;secondkey=value\;2`
@badalsarkar I have just merged your PR. Thank you very much for your contribution :-) |
@fabiocarvalho777 , it was great to contribute. Thank you. |
Butterfly CLI option `-p` uses semi-colon to separate properties and equals to separate property from value. Now, the option '-p' accepts escaped semi-colon and equals as property value. Example `-p firstkey=value\;1;secondkey=value\;2`
See issue #167 for context. Currently any semicolon passed to Butterfly CLI using
-p
will always be used to separate properties. Similarly, equals will always be used to separate property name from property value.However, both should also be allowed as property value, as long as escaped when using
-p
.The text was updated successfully, but these errors were encountered: