Merge pull request #11878 from nextcloud/no-require-same-site-cookie-on-assets
Don't require Same Site Cookies on assets
This commit is contained in:
commit
0c05ed1d3d
4 changed files with 6 additions and 0 deletions
|
@ -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 a new issue