From c2da016469427b2ffebaab0d38ca36b81281420c Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Fri, 22 Dec 2017 17:50:06 -0500 Subject: Bug 1426390 - Serve WOFF2 Fira Sans font --- t/css.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/css.t b/t/css.t index 84d1ae3f0..a64cadea6 100644 --- a/t/css.t +++ b/t/css.t @@ -22,7 +22,7 @@ find( if (/\.css$/) { my $css_file = $File::Find::name; my $content = read_file($_); - while ($content =~ m{url\(["']?([^\)"']+)['"]?\)}g) { + while ($content =~ m{url\(["']?([^\?\)"']+)(?:\?.+)?['"]?\)}g) { my $file = $1; my $file_rel_root = File::Spec->abs2rel(realpath(File::Spec->rel2abs($file)), $root); -- cgit v1.2.3-24-g4f1b