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

Parameters and Tags with numeric values with a leading 0 are interpreted as octal #29

Open
nathandines opened this issue Apr 9, 2018 · 0 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@nathandines
Copy link
Owner

nathandines commented Apr 9, 2018

Example:

---
ParameterHere: 0123456  # Result: "42798"
ParameterFail: 0456789  # FAIL: Returns an error due to an invalid octal number

Workaround:

Wrap your values in quotes to prevent it from being parsed as a number.

---
ParameterHere: '0123456'  # Result: "0123456"
ParameterFail: '0456789'  # Result: "0456789"

Potential Corrective Action:

We're a little dependent on the language for this one, and it doesn't look like this one will be fixed: golang/go#151

@nathandines nathandines added the bug Something isn't working label Apr 9, 2018
@nathandines nathandines added the wontfix This will not be worked on label May 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant