diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2018-09-19 16:00:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-19 16:00:20 +0200 |
commit | 12977a257dde1d56471a5b6503838d98aafd44bc (patch) | |
tree | f465102df7a67d285998f87a14903b09a9c996fe | |
parent | d4b023844d3e5d139aa769c7b1d45fca7500c8bd (diff) | |
parent | 3095ec4125d70fe3739240add56a7cb74713bdb0 (diff) | |
download | nextcloud-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.php | 2 |
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'; |