Properly track data urls as well

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2018-10-24 16:58:30 +02:00
parent 845f1b67d5
commit 152fb08288
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ class IconsCacher {
protected $urlGenerator; protected $urlGenerator;
/** @var string */ /** @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 */ /** @var string */
private $fileName = 'icons-vars.css'; private $fileName = 'icons-vars.css';