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

Encode utf8 for configuration string values #1411

Merged
merged 3 commits into from
Jan 10, 2017

Conversation

tagomoris
Copy link
Member

The parameters defined as config_param :name, :string may produce ASCII-8BIT String values, but it's unexpected values for most plugin authors and users (these values will be packed into bin in msgpack).
This change encodes string values in utf8.

@tagomoris tagomoris added bug Something isn't working v0.14 labels Jan 10, 2017
@tagomoris
Copy link
Member Author

@repeatedly could you review this change?

@tagomoris tagomoris self-assigned this Jan 10, 2017
@repeatedly
Copy link
Member

LGTM

@tagomoris tagomoris merged commit 79810dd into master Jan 10, 2017
@tagomoris tagomoris deleted the encode-utf8-for-configuration-string-values branch January 10, 2017 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v0.14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants