diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-10-24 16:58:30 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-10-25 11:58:00 +0200 |
commit | 152fb0828811237d2d8de7a68b000409f9aa866a (patch) | |
tree | 01cd365f4af55f545c75ac58fd82bdeb780e53ac /lib | |
parent | 845f1b67d5f31cad36becfb8b20c42e5eb191bc8 (diff) | |
download | nextcloud-server-152fb0828811237d2d8de7a68b000409f9aa866a.tar.gz nextcloud-server-152fb0828811237d2d8de7a68b000409f9aa866a.zip |
Properly track data urls as well
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-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 52fae068835..a1f4d9fecf6 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-]+):\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'; |