mirror of
https://github.com/pretix/pretix.git
synced 2026-08-21 12:36:26 +00:00
Drop all csp_ignore statements from core (except stripe, for now) (#6337)
* Add proper CSP policy for HTML email preview * Handle safe types centrally * Precompile schema validation function to get rid of ajv2020 * Fix tests * adjust more tests
This commit is contained in:
@@ -162,7 +162,6 @@ class XHRView(View):
|
||||
|
||||
paypal_order = prov._create_paypal_order(request, None, cart_total)
|
||||
r = JsonResponse(paypal_order.dict() if paypal_order else {})
|
||||
r._csp_ignore = True
|
||||
return r
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user