Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Return 403 instead of 500 when no firewall is defined #49193

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Feb 2, 2023

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? no
Tickets #34148
License MIT
Doc PR -

Looks like ranting on Twitter may pay of sometimes ;)

https://twitter.com/zodman/status/1620954291187097600

The changes on ErrorListener make #[WithHttpStatus] and #[WithLogLevel] propagate to child classes.

Best reviewed ignoring white spaces.

@chalasr
Copy link
Member

chalasr commented Feb 7, 2023

Thank you @nicolas-grekas.

@chalasr chalasr merged commit 01864ed into symfony:6.3 Feb 7, 2023
@ro0NL
Copy link
Contributor

ro0NL commented Feb 7, 2023

why wasnt the AccessDeniedException transformed to AccessDeniedHttpException?

@fabpot fabpot mentioned this pull request May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants