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

Escaping Numbers with a Leading 0 Does Not Work #535

Closed
KetanReddy opened this issue Oct 28, 2024 · 0 comments · Fixed by #533
Closed

Escaping Numbers with a Leading 0 Does Not Work #535

KetanReddy opened this issue Oct 28, 2024 · 0 comments · Fixed by #533
Labels
bug Something isn't working

Comments

@KetanReddy
Copy link
Member

Binding segments that use the escaped syntax (e.g ['bar']) should use the literal value of the segment in the escape brackets. However, if a number with a leading zero is used as a path segment in the Binding Parser will auto covert it to an integer, thus stripping the leading zero from the segment. The expected behavior would be for it to keep the leading zero. #533 Has a failing testcase that shows this behavior and a proposed fix.

@KetanReddy KetanReddy added the bug Something isn't working label Oct 28, 2024
@KetanReddy KetanReddy linked a pull request Oct 31, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant