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

[SecurityBundle] Allow ips parameter in access_control to accept comma-separated string#40902

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
nicolas-grekas merged 1 commit intosymfony:5.2fromedefimov:fix-40881
May 7, 2021

Conversation

@edefimov
Copy link
Contributor

QA
Branch?5.2
Bug fix?yes
New feature?no
Deprecations?no
Tickets#40881,#40864,#40865
LicenseMIT

PR#38149 introduced a new feature to accept a comma-separated string in ip adresses setting inaccess_control configuration section of security bundle.

However the feature works in inconsistent manner: comma-separated string can be successfully passed via environment variable, but can not be passed as plain string. This PR changes this inconsistent behavior by allowing validation pass if comma-separated list of ip addresses is given in plain string.

More detailed explanation about the inconsistent behavior can be foundhere

ro0NL and zidaneus reacted with thumbs up emoji
@carsonbot
Copy link

Hey!

I think@scheb has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

@edefimovedefimovforce-pushed thefix-40881 branch 2 times, most recently from93efd05 to5eb1801CompareMay 1, 2021 10:18
@nicolas-grekasnicolas-grekas changed the title[Security] Allow ips parameter in access_control to accept comma-separated string[SecurityBundle] Allow ips parameter in access_control to accept comma-separated stringMay 7, 2021
@nicolas-grekas
Copy link
Member

Thank you@edefimov.

@nicolas-grekasnicolas-grekas merged commit897f287 intosymfony:5.2May 7, 2021
This was referencedMay 9, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@wouterjwouterjAwaiting requested review from wouterjwouterj is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

3 participants

@edefimov@carsonbot@nicolas-grekas

[8]ページ先頭

©2009-2025 Movatter.jp