Don't require Same Site Cookies on assets
Which can be used for public iframe embeeding See https://github.com/nextcloud/calendar/issues/169 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b88ab75c3a
commit
d63de5471b
|
@ -397,6 +397,7 @@ class ThemingController extends Controller {
|
|||
/**
|
||||
* @NoCSRFRequired
|
||||
* @PublicPage
|
||||
* @NoSameSiteCookieRequired
|
||||
*
|
||||
* @return FileDisplayResponse|NotFoundResponse
|
||||
* @throws NotPermittedException
|
||||
|
@ -428,6 +429,7 @@ class ThemingController extends Controller {
|
|||
/**
|
||||
* @NoCSRFRequired
|
||||
* @PublicPage
|
||||
* @NoSameSiteCookieRequired
|
||||
*
|
||||
* @return DataDownloadResponse
|
||||
*/
|
||||
|
|
|
@ -62,6 +62,7 @@ class CssController extends Controller {
|
|||
/**
|
||||
* @PublicPage
|
||||
* @NoCSRFRequired
|
||||
* @NoSameSiteCookieRequired
|
||||
*
|
||||
* @param string $fileName css filename with extension
|
||||
* @param string $appName css folder name
|
||||
|
|
|
@ -56,6 +56,7 @@ class JsController extends Controller {
|
|||
/**
|
||||
* @PublicPage
|
||||
* @NoCSRFRequired
|
||||
* @NoSameSiteCookieRequired
|
||||
*
|
||||
* @param string $fileName js filename with extension
|
||||
* @param string $appName js folder name
|
||||
|
|
|
@ -57,6 +57,7 @@ class SvgController extends Controller {
|
|||
/**
|
||||
* @PublicPage
|
||||
* @NoCSRFRequired
|
||||
* @NoSameSiteCookieRequired
|
||||
*
|
||||
* Generate svg from filename with the requested color
|
||||
*
|
||||
|
@ -73,6 +74,7 @@ class SvgController extends Controller {
|
|||
/**
|
||||
* @PublicPage
|
||||
* @NoCSRFRequired
|
||||
* @NoSameSiteCookieRequired
|
||||
*
|
||||
* Generate svg from filename with the requested color
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue