Commit e209e42
authored
Add billing.stripe.com to form-action CSP (#18328)
closes #18315
Allow `https://billing.stripe.com` in form-action CSP.
When an organization's subscription lapses and they are marked as inactive, the POST to /manage/organization/<ORG_SLUG>/subscription/activate reidrects to /manage/organization/<ORG_SLUG>/subscription/ which ultimately redirects to billing.stripe.com since they have an existing customer/subscription. This does not align with CSP.
NEW Organizations/customers are redirected to checkout.stripe.com, which aligns with CSP.
Adding this allows for both states to successfully gain access to the stripe portal.1 parent c6d92fd commit e209e42
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
254 | 258 | | |
255 | 259 | | |
256 | 260 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
159 | 163 | | |
160 | 164 | | |
161 | 165 | | |
| |||
0 commit comments