mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
8chan-mod-pages.php: Add 8chan.co and fonts.gstatic.com to the CSS whitelist
This commit is contained in:
parent
108f3ff99a
commit
aa71065dac
@ -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])) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user