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

[HttpFoundation] Deprecate not passing aClosure together withFILTER_CALLBACK toParameterBag::filter()#38859

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
derrabus merged 1 commit intosymfony:5.xfromnicolas-grekas:twig-no-callback
Oct 30, 2020

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedOct 28, 2020
edited
Loading

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

Usingfilter_var() with a configurable flag is risky, because of theFILTER_CALLBACK flag.
Restricting the type of callable that is accepted here mitigates the risk.
We did the same in Twig:twigphp/Twig#3308

@derrabus
Copy link
Member

LGTM once a test has been added. 🙃

@nicolas-grekas
Copy link
MemberAuthor

Test added

@derrabus
Copy link
Member

Thank you Nicolas.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

@jderussejderussejderusse approved these changes

@derrabusderrabusderrabus approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

6 participants

@nicolas-grekas@derrabus@stof@jderusse@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp