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

Python: missing XML encoding #38

Open
mhahn-sighthoundlabs opened this issue Jul 16, 2014 · 0 comments
Open

Python: missing XML encoding #38

mhahn-sighthoundlabs opened this issue Jul 16, 2014 · 0 comments

Comments

@mhahn-sighthoundlabs
Copy link

It seems that none of the values going into the XML are getting encoding. Having anything with an ampersand e.g. leads to verification failure. Example:

licence_data += u"\t" + signature + u"\n"

Python 2.0+ has XML encoding built in, so 'escape(signature)' would be the solution.

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