summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-07-09 11:43:06 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-19 08:16:59 +0200
commit61946819baa1cb94b5f89330b739653b8231c7ed (patch)
treee346d8d43696abb8e618e19cb1bd660598ced45f /core/Controller
parentdccfed8d1c1714eb31f443482bd7ef98c54d638c (diff)
downloadnextcloud-server-61946819baa1cb94b5f89330b739653b8231c7ed.tar.gz
nextcloud-server-61946819baa1cb94b5f89330b739653b8231c7ed.zip
Fixed svg generator regex && added missing icons
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/SvgController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Controller/SvgController.php b/core/Controller/SvgController.php
index b1a78752c41..3dedccc6377 100644
--- a/core/Controller/SvgController.php
+++ b/core/Controller/SvgController.php
@@ -111,7 +111,7 @@ class SvgController extends Controller {
}
// add fill (fill is not present on black elements)
- $fillRe = '/<((circle|rect|path)((?!fill)[a-z0-9 =".\-#])+)\/>/mi';
+ $fillRe = '/<((circle|rect|path)((?!fill)[a-z0-9 =".\-#():;])+)\/>/mi';
$svg = preg_replace($fillRe, '<$1 fill="#' . $color . '"/>', $svg);