mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-22 02:41:50 +02:00
fix typo causing not loaded images in html files from filemanager
This commit is contained in:
parent
343a841cae
commit
1a98d800f7
@ -84,7 +84,7 @@ class Content
|
|||||||
UserAgent::type() == 'safari' && UserAgent::mobile() && UserAgent::version() >= 9537) // iOS 7
|
UserAgent::type() == 'safari' && UserAgent::mobile() && UserAgent::version() >= 9537) // iOS 7
|
||||||
{
|
{
|
||||||
// forbid to execute any javascript (to be precise anything but images and styles)
|
// forbid to execute any javascript (to be precise anything but images and styles)
|
||||||
ContentSecurityPolicy::header("image-src 'self' data: https:; style-src 'self' 'unsafe-inline' https:; default-src 'none'");
|
ContentSecurityPolicy::header("img-src 'self' data: https:; style-src 'self' 'unsafe-inline' https:; default-src 'none'");
|
||||||
}
|
}
|
||||||
else // everything else get's a Content-dispostion: attachment, to be on save side
|
else // everything else get's a Content-dispostion: attachment, to be on save side
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user