Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prevent parsing invalid octal digits as octal numbers#38099

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.4fromjulienfalque:fix-yaml-octal-digits
Sep 8, 2020

Conversation

@julienfalque
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Values starting with0 but containing8 or9 such as0123456789 are not valid octal numbers, therefore they should be parsed as regular strings. This is consistent with how other invalid octal values are parsed, e.g.01234567ab already gets parsed as the string"01234567ab".

Copy link
Member

@fabpotfabpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Tested with other libs and they behave the same.

@fabpot
Copy link
Member

Thank you@julienfalque.

@fabpotfabpot merged commit91b6739 intosymfony:3.4Sep 8, 2020
@julienfalquejulienfalque deleted the fix-yaml-octal-digits branchSeptember 8, 2020 06:50
This was referencedSep 27, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@xabbuhxabbuhAwaiting requested review from xabbuhxabbuh is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

4 participants

@julienfalque@fabpot@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp