fabric-ca
fabric-ca copied to clipboard
escape special charecters that can be set through the command line ar…
…guments
Signed-off-by: Rohan Shrothrium [email protected]
Type of change
- Bug fix
Description
When we initialise a fabric ca server with an admin and adminpw, if they have special characters the ca behaves not as expected.
These special characters can be in anything that can be passed through the command line arguments.
This PR is meant to escape these special characters in the yml
file.
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
Close and Re-open to trigger CI.
This PR causes a legitimate test failure in cmd/fabric-ca-server/main_test.go unit test TestErrors.