]> BookStack Code Mirror - bookstack/commitdiff
Add ALLOWED_IFRAME_SOURCES to phpunit.xml 5069/head
authorStefan Mueller <redacted>
Thu, 13 Jun 2024 10:41:05 +0000 (12:41 +0200)
committerStefan Mueller <redacted>
Thu, 13 Jun 2024 10:41:05 +0000 (12:41 +0200)
Fix for bug #5068
test_frame_src_csp_header_set fails, when .env-file has
customized ALLOWED_IFRAME_SOURCES

phpunit.xml

index 21f17685b5b63aacd448fcbfa898ca9d16b6ffaa..b72c6e5f13e7fa25c751449e71b3b363e0c04270 100644 (file)
@@ -13,6 +13,7 @@
     <server name="APP_AUTO_LANG_PUBLIC" value="true"/>
     <server name="APP_URL" value="http://bookstack.dev"/>
     <server name="ALLOWED_IFRAME_HOSTS" value=""/>
+    <server name="ALLOWED_IFRAME_SOURCES" value="https://*.draw.io https://*.youtube.com https://*.youtube-nocookie.com https://*.vimeo.com"/>
     <server name="ALLOWED_SSR_HOSTS" value="*"/>
     <server name="CACHE_DRIVER" value="array"/>
     <server name="SESSION_DRIVER" value="array"/>