Skip to content

added note about 404 error pages and security features #5325

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
Aug 29, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions UPGRADE-2.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
for multiple environments.

* The priorities for the built-in listeners have changed.

```
2.0 2.1
security.firewall kernel.request 64 8
Expand Down Expand Up @@ -204,7 +204,9 @@

* The Firewall listener is now registered after the Router listener. This
means that specific Firewall URLs (like /login_check and /logout) must now
have proper routes defined in your routing configuration.
have proper routes defined in your routing configuration. Also, if you have
a custom 404 error page, make sure that you do not use any security related
features such as `is_granted` on it.

* The user provider configuration has been refactored. The configuration
for the chain provider and the memory provider has been changed:
Expand Down Expand Up @@ -248,9 +250,9 @@
use Symfony\Bundle\SecurityBundle\Validator\Constraint\UserPassword;
use Symfony\Bundle\SecurityBundle\Validator\Constraint as SecurityAssert;
```

After:

```
use Symfony\Component\Security\Core\Validator\Constraint\UserPassword;
use Symfony\Component\Security\Core\Validator\Constraint as SecurityAssert;
Expand Down