From aa71065dac700f923ebe2da0ac920c6c53a4fd6f Mon Sep 17 00:00:00 2001 From: Pashe Date: Fri, 2 Jan 2015 21:09:22 -0600 Subject: [PATCH] 8chan-mod-pages.php: Add 8chan.co and fonts.gstatic.com to the CSS whitelist --- inc/8chan-mod-pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/8chan-mod-pages.php b/inc/8chan-mod-pages.php index b704567d..176baf39 100644 --- a/inc/8chan-mod-pages.php +++ b/inc/8chan-mod-pages.php @@ -520,7 +520,7 @@ EOT; preg_match_all("#$match_urls#im", $clean_css, $matched); - $allowed_urls = array('https://i.imgur.com/', 'https://media.8chan.co/', 'https://a.pomf.se/', 'https://fonts.googleapis.com/', 'http://8ch.net/'); + $allowed_urls = array('https://i.imgur.com/', 'https://media.8chan.co/', 'https://a.pomf.se/', 'https://fonts.googleapis.com/', 'https://fonts.gstatic.com/', 'http://8ch.net/', 'https://8chan.co/'); $error = false; if (isset($matched[0])) {