summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-01-17 16:02:21 +0100
committerGitHub <noreply@github.com>2019-01-17 16:02:21 +0100
commit4b025649c0a950a7407392dc1e40248f59dff282 (patch)
tree441cb74dcd1c773ed910f5c8a0ddb00f55bb9014 /lib
parent64de706bdafc8dbad931d4dc67467dc6481b4a2a (diff)
downloadnextcloud-server-4b025649c0a950a7407392dc1e40248f59dff282.tar.gz
nextcloud-server-4b025649c0a950a7407392dc1e40248f59dff282.zip
[stable15] Fix colorizeSvg with transformations that contain a comma (,)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-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 49c5929e3d6..8c317c10957 100644
--- a/lib/private/Template/IconsCacher.php
+++ b/lib/private/Template/IconsCacher.php
@@ -51,7 +51,7 @@ class IconsCacher {
protected $timeFactory;
/** @var string */
- private $iconVarRE = '/--(icon-[a-zA-Z0-9-]+):\s?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';