Skip to content

escape special charecters that can be set through the command line ar…#290

Open
RohanShrothrium wants to merge 1 commit intohyperledger:mainfrom
RohanShrothrium:rs-fabric-ca-server
Open

escape special charecters that can be set through the command line ar…#290
RohanShrothrium wants to merge 1 commit intohyperledger:mainfrom
RohanShrothrium:rs-fabric-ca-server

Conversation

@RohanShrothrium
Copy link

…guments

Signed-off-by: Rohan Shrothrium rohan.shrothrium@intellecteu.com

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.

…guments

Signed-off-by: Rohan Shrothrium <rohan.shrothrium@intellecteu.com>
@RohanShrothrium RohanShrothrium requested a review from a team as a code owner May 15, 2022 19:16
@denyeart
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@denyeart
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@denyeart
Copy link
Contributor

Close and Re-open to trigger CI.

@denyeart denyeart closed this Mar 21, 2023
@denyeart denyeart reopened this Mar 21, 2023
@denyeart denyeart closed this Aug 29, 2023
@denyeart denyeart reopened this Aug 29, 2023
@denyeart
Copy link
Contributor

This PR causes a legitimate test failure in cmd/fabric-ca-server/main_test.go unit test TestErrors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants