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

[Yaml] ensures that the mb_internal_encoding is reset to its initial value#29571

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
xabbuh merged 1 commit intosymfony:3.4fromJola:yaml-fix-internal-encoding-reset
Dec 11, 2018

Conversation

@Jola
Copy link

@JolaJola commentedDec 11, 2018
edited
Loading

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets
LicenseMIT
Doc PR

WhenSymfony\Component\Yaml\Inline::parse sets the internal encoding to ASCII and the method does an early return or throws an exception, the internal encoding would not be reset.
This Patch ensures the reset of the encoding by moving it into a finally block.

@nicolas-grekasnicolas-grekas changed the title[Yaml] ensures that the mb_internal_encoding is reset to its initial…[Yaml] ensures that the mb_internal_encoding is reset to its initial valueDec 11, 2018
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneDec 11, 2018
@xabbuh
Copy link
Member

Thank you@Jola.

@xabbuhxabbuh merged commit56ab129 intosymfony:3.4Dec 11, 2018
xabbuh added a commit that referenced this pull requestDec 11, 2018
…ts initial value (Jörn Lang)This PR was merged into the 3.4 branch.Discussion----------[Yaml] ensures that the mb_internal_encoding is reset to its initial value| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |When `Symfony\Component\Yaml\Inline::parse` sets the internal encoding to ASCII and the method does an early return or throws an exception, the internal encoding would not be reset.This Patch ensures the reset of the encoding by moving it into a finally block.Commits-------56ab129 [Yaml] ensures that the mb_internal_encoding is reset to its initial value
This was referencedJan 6, 2019
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@stofstofstof 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.

5 participants

@Jola@xabbuh@nicolas-grekas@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp