summaryrefslogtreecommitdiffstats
path: root/lib/private/Template
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-07-18 19:05:32 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-19 08:16:59 +0200
commit9159ed3d76750956754945c934f2d4d2a6b11e70 (patch)
treeae9b6598244ef7d0db1936d6c59e921a352dbaf4 /lib/private/Template
parent6ed8c19ab9dbc37a3f1563f51d0375d1b5f3e108 (diff)
downloadnextcloud-server-9159ed3d76750956754945c934f2d4d2a6b11e70.tar.gz
nextcloud-server-9159ed3d76750956754945c934f2d4d2a6b11e70.zip
Fix icon url regex
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Template')
-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 a8dacfcfbc0..5e5e0fda50b 100644
--- a/lib/private/Template/IconsCacher.php
+++ b/lib/private/Template/IconsCacher.php
@@ -46,7 +46,7 @@ class IconsCacher {
protected $urlGenerator;
/** @var string */
- private $iconVarRE = '/--(icon-[a-z0-9-]+): url\(["\']([a-z0-9-\/]+)[^;]+;/m';
+ private $iconVarRE = '/--(icon-[a-z0-9-]+): url\(["\']([a-z0-9-_\~\/\?\&\=\.]+)[^;]+;/m';
/** @var string */
private $fileName = 'icons-vars.css';