diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-07-18 19:05:32 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-07-19 08:16:59 +0200 |
commit | 9159ed3d76750956754945c934f2d4d2a6b11e70 (patch) | |
tree | ae9b6598244ef7d0db1936d6c59e921a352dbaf4 /lib/private/Template | |
parent | 6ed8c19ab9dbc37a3f1563f51d0375d1b5f3e108 (diff) | |
download | nextcloud-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.php | 2 |
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'; |