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

fixed the user data encoding by using the proper base64 #541

Merged
merged 2 commits into from Oct 5, 2018

Conversation

lmineiro
Copy link
Contributor

@lmineiro lmineiro commented Oct 4, 2018

The function base64.urlsafe_b64encode() would fail to properly encode the > character, as stated in #540

That affected the Elastigroup creation whenever the > was present in the user data.

For the CloudFormation template the fix was to use the same deferred call to Fn::Base64, just like for the native Auto Scaling Groups.

The patch command was changed to use the correct base64.b64encode() function.

@lmineiro lmineiro requested review from jmcs and pc-alves October 4, 2018 19:42
@pc-alves
Copy link
Collaborator

pc-alves commented Oct 4, 2018

👍

1 similar comment
@jmcs
Copy link
Member

jmcs commented Oct 5, 2018

👍

@jmcs jmcs merged commit b55e95b into zalando-stups:master Oct 5, 2018
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.

None yet

3 participants