You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2025/02/17 00:53:49 UTC
(calcite-avatica) 01/01: [CALCITE-6843] Fix CSP policy for Lato font used by websites
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git
commit d0cf38da04972a01f8c7489b4939b3f87f583de2
Author: Francis Chuang <fr...@apache.org>
AuthorDate: Mon Feb 17 11:46:12 2025 +1100
[CALCITE-6843] Fix CSP policy for Lato font used by websites
---
site/_includes/top.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/site/_includes/top.html b/site/_includes/top.html
index 2776ddde7..9db61ca12 100644
--- a/site/_includes/top.html
+++ b/site/_includes/top.html
@@ -5,6 +5,7 @@
<title>{{ page.title }}</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="generator" content="Jekyll v{{ jekyll.version }}">
+ <meta http-equiv="Content-Security-Policy" content="default-src 'self'; font-src 'self' data:https://fonts.gstatic.com; style-src 'self' https://fonts.googleapis.com;">
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900">
<link rel="stylesheet" href="{{ site.baseurl }}/css/screen.css">
<link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/favicon.ico">