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

Single-quote character in text fields may be pushed incorrectly #169

Open
VMikhailovskii opened this issue Sep 9, 2022 · 0 comments
Open

Comments

@VMikhailovskii
Copy link

Looks like this happens due to
https://github.com/CiscoDevNet/python-viptela/blob/master/vmanage/api/http_methods.py#L65
where we replace single-quote with double-quote.

However the string may be defined with both single- and double-quotes... means the replace does following

from
"test ' single quote"
it convers to
"test " single quote"
that is obviously incorrect string format.

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