summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-08-25 00:32:54 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-09-19 13:06:04 +0200
commit3095ec4125d70fe3739240add56a7cb74713bdb0 (patch)
tree6da5e9251bd0b5537986965c0bcd18720e4491eb /lib/private
parentb75dde0c9a218f6154158d7fe54fd38d774a1970 (diff)
downloadnextcloud-server-3095ec4125d70fe3739240add56a7cb74713bdb0.tar.gz
nextcloud-server-3095ec4125d70fe3739240add56a7cb74713bdb0.zip
Fix icons cacher regex for compressed output
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private')
-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';