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:
Thomas Citharel 2018-10-17 09:24:21 +02:00
parent b88ab75c3a
commit d63de5471b
4 changed files with 6 additions and 0 deletions

View File

@ -397,6 +397,7 @@ class ThemingController extends Controller {
/** /**
* @NoCSRFRequired * @NoCSRFRequired
* @PublicPage * @PublicPage
* @NoSameSiteCookieRequired
* *
* @return FileDisplayResponse|NotFoundResponse * @return FileDisplayResponse|NotFoundResponse
* @throws NotPermittedException * @throws NotPermittedException
@ -428,6 +429,7 @@ class ThemingController extends Controller {
/** /**
* @NoCSRFRequired * @NoCSRFRequired
* @PublicPage * @PublicPage
* @NoSameSiteCookieRequired
* *
* @return DataDownloadResponse * @return DataDownloadResponse
*/ */

View File

@ -62,6 +62,7 @@ class CssController extends Controller {
/** /**
* @PublicPage * @PublicPage
* @NoCSRFRequired * @NoCSRFRequired
* @NoSameSiteCookieRequired
* *
* @param string $fileName css filename with extension * @param string $fileName css filename with extension
* @param string $appName css folder name * @param string $appName css folder name

View File

@ -56,6 +56,7 @@ class JsController extends Controller {
/** /**
* @PublicPage * @PublicPage
* @NoCSRFRequired * @NoCSRFRequired
* @NoSameSiteCookieRequired
* *
* @param string $fileName js filename with extension * @param string $fileName js filename with extension
* @param string $appName js folder name * @param string $appName js folder name

View File

@ -57,6 +57,7 @@ class SvgController extends Controller {
/** /**
* @PublicPage * @PublicPage
* @NoCSRFRequired * @NoCSRFRequired
* @NoSameSiteCookieRequired
* *
* Generate svg from filename with the requested color * Generate svg from filename with the requested color
* *
@ -73,6 +74,7 @@ class SvgController extends Controller {
/** /**
* @PublicPage * @PublicPage
* @NoCSRFRequired * @NoCSRFRequired
* @NoSameSiteCookieRequired
* *
* Generate svg from filename with the requested color * Generate svg from filename with the requested color
* *