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
The following commit(s) were added to refs/heads/main by this push:
new 267f773c2 [CALCITE-6843] Fix CSP policy for Lato font used by websites
267f773c2 is described below
commit 267f773c2d626a063992162661484db695e51f7b
Author: Francis Chuang <[email protected]>
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..b39344cb7 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' 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">