File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 11Changelog
22=========
33
4+ ## 5.2.3
5+
6+ - Fix any URI starting with bolt.backend_url is treated as restricted (macintoshplus, [ #3504 ] ( https://github.com/bolt/core/issues/3504 )
7+
48## 5.2.2
59
610Released: 2025-03-10
Original file line number Diff line number Diff line change 1+ # Upgrade to 5.2.3
2+
3+ In file ` config/packages/security.yaml ` replace
4+
5+ ``` yaml
6+ - { path: '^%bolt.backend_url%', roles: IS_AUTHENTICATED_REMEMBERED }
7+ - { path: '^/(%app_locales%)%bolt.backend_url%', roles: IS_AUTHENTICATED_REMEMBERED }
8+ ` ` `
9+
10+ By
11+ ` ` ` yaml
12+ - { path: '^%bolt.backend_url%($|/)', roles: IS_AUTHENTICATED_REMEMBERED }
13+ - { path: '^/(%app_locales%)%bolt.backend_url%($|/)', roles: IS_AUTHENTICATED_REMEMBERED }
14+ ` ` `
Original file line number Diff line number Diff line change @@ -58,5 +58,5 @@ security:
5858 - { path: '^/(%app_locales%)%bolt.backend_url%/api', roles: ADMIN_API_ACCESS } # handled by voter
5959 - { path: '^%bolt.backend_url%/_trans', roles: ADMIN_TRANSLATE_ACCESS } # handled by voter
6060 - { path: '^/(%app_locales%)%bolt.backend_url%/_trans', roles: ADMIN_TRANSLATE_ACCESS } # handled by voter
61- - { path: '^%bolt.backend_url%', roles: IS_AUTHENTICATED_REMEMBERED }
62- - { path: '^/(%app_locales%)%bolt.backend_url%', roles: IS_AUTHENTICATED_REMEMBERED }
61+ - { path: '^%bolt.backend_url%($|/) ', roles: IS_AUTHENTICATED_REMEMBERED }
62+ - { path: '^/(%app_locales%)%bolt.backend_url%($|/) ', roles: IS_AUTHENTICATED_REMEMBERED }
You can’t perform that action at this time.
0 commit comments