🐛 Does not redirect ot login if url start by /bolt...#3573
🐛 Does not redirect ot login if url start by /bolt...#3573macintoshplus wants to merge 1 commit into5.2from
Conversation
bobvandevijver
left a comment
There was a problem hiding this comment.
This looks good, but it will require a yaml migration as well so it is to be applied to existing installations. See for example https://github.com/bolt/core/blob/master/yaml-migrations/m_2022-02-16-security_1.yaml.
It's not possible. The YAML migration tool doesn't work fine with an array. This change requires two migrations. One for removing older configuration and one for adding new configuration. The remove migration like Apply the removing migration generate this error: To apply this change, it's necessary to upgrade the YAML migration tool to add the updating action like |
4769ed8 to
dbde662
Compare
|
I've added the upgrade file and updated the changelog. This patch may have already been applied to users' Bolt projects. |
|
Included in dbeab8b |
Issue #3504 Fix the security side effect on URL start with
/bolt./bolt$is secured and redirect on login if need. 🔒/bolt/new/pageis secured and redirect on login if need. 🔒/bolt-and-nutsNot secured. 🔓