aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2018-09-19 16:00:20 +0200
committerGitHub <noreply@github.com>2018-09-19 16:00:20 +0200
commit12977a257dde1d56471a5b6503838d98aafd44bc (patch)
treef465102df7a67d285998f87a14903b09a9c996fe
parentd4b023844d3e5d139aa769c7b1d45fca7500c8bd (diff)
parent3095ec4125d70fe3739240add56a7cb74713bdb0 (diff)
downloadnextcloud-server-12977a257dde1d56471a5b6503838d98aafd44bc.tar.gz
nextcloud-server-12977a257dde1d56471a5b6503838d98aafd44bc.zip
Merge pull request #10847 from nextcloud/fix-icons-cacher
Fix icons cacher regex for compressed output
-rw-r--r--lib/private/Template/IconsCacher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Template/IconsCacher.php b/lib/private/Template/IconsCacher.php
index 070c7c3da51..f3660442dc5 100644
--- a/lib/private/Template/IconsCacher.php
+++ b/lib/private/Template/IconsCacher.php
@@ -47,7 +47,7 @@ class IconsCacher {
protected $urlGenerator;
/** @var string */
- private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+): url\(["\']([a-zA-Z0-9-_\~\/\.\?\=]+)[^;]+;/m';
+ private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+):\s?url\(["\']([a-zA-Z0-9-_\~\/\.\?\=]+)[^;]+;/m';
/** @var string */
private $fileName = 'icons-vars.css';