Skip to content
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

cs.put strips spaces in values #27

Open
cayspekko opened this issue Feb 22, 2019 · 0 comments
Open

cs.put strips spaces in values #27

cayspekko opened this issue Feb 22, 2019 · 0 comments

Comments

@cayspekko
Copy link

cayspekko commented Feb 22, 2019

value = json.dumps(value).replace(' ', '')

I'm curious about why this is here? this prevents cs.put any values with spaces. One such legitimate case is in certificate management where the certificates will always begin -----BEGIN CERTIFICATE----- etc

My particular case I'm putting certificates to certmgmt, but the certs were corrupt. I commented this line out and cs.put worked correctly.

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

No branches or pull requests

1 participant