Skip to content

Commit 94c36b6

Browse files
Update security.rst
Co-authored-by: Christian Flothmann <[email protected]>
1 parent db90640 commit 94c36b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ will be able to authenticate (e.g. login form, API token, etc).
555555
// the order in which firewalls are defined is very important, as the
556556
// request will be handled by the first firewall whose pattern matches
557557
$security->firewall('dev')
558-
->pattern('^/_profiler|_wdt|assets|build/') // `assets` is for AssetMapper; `build` is for Webpack Encore
558+
->pattern('^/(_profiler|_wdt|assets|build)/') // `assets` is for AssetMapper; `build` is for Webpack Encore
559559
->security(false)
560560
;
561561

0 commit comments

Comments
 (0)