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

[VarExporter] escape unicode chars involved in directionality#43909

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:4.4fromnicolas-grekas:ve-lre
Nov 3, 2021

Conversation

@nicolas-grekas
Copy link
Member

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

According tohttps://www.trojansource.codes/, source code should never contain directional characters.
Let's escape them.

@jderusse
Copy link
Member

What's about Php dumpers likeSymfony\Component\Intl\Data\Bundle\Writer\PhpBundleWriter?

@lyrixxlyrixx changed the title[VarExporter] espace unicode chars involved in directionality[VarExporter] escape unicode chars involved in directionalityNov 3, 2021
@nicolas-grekas
Copy link
MemberAuthor

They could be updated to use VarExporter. But from another pov, what's the point since all this is going to be autogenerated, and the "vulnerability" targets human reviews?

@stof
Copy link
Member

stof commentedNov 3, 2021

@jderusse for cases relying onvar_export, you might request the same from PHP itself.

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit7eeafa1 intosymfony:4.4Nov 3, 2021
@nicolas-grekasnicolas-grekas deleted the ve-lre branchNovember 6, 2021 10:26
This was referencedNov 22, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@stofstofstof approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@nicolas-grekas@jderusse@stof@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp