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

Generate 64 character hexadecimal labels #33

Merged

Conversation

dmjones
Copy link
Contributor

@dmjones dmjones commented Mar 7, 2019

This fix prevents nil bytes from appearing in automatically generated labels. I opted to keep 64 character labels, as that appears to be the original intent.

Instead of base64-encoding the label, the result is simply 64 ASCII bytes containing hexadecimal characters.

Fixes #31.

@dmjones dmjones requested a review from nickrmc83 March 7, 2019 09:25
@dmjones dmjones force-pushed the 31-Stop-generating-labels-with-NUL-bytes-at-the-end branch from 3f49460 to ac626bf Compare March 7, 2019 09:28
@nickrmc83 nickrmc83 merged commit c739332 into master Mar 8, 2019
@dmjones dmjones added has issue Used to exclude PRs from release notes and removed bug labels Mar 14, 2019
@dmjones dmjones deleted the 31-Stop-generating-labels-with-NUL-bytes-at-the-end branch June 21, 2019 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has issue Used to exclude PRs from release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop generating labels with NUL bytes at the end
2 participants