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 67fed470b [CALCITE-6843] Fix CSP policy for Lato font used by websites
67fed470b is described below

commit 67fed470bb8f28d690249df6cc0fdfdcd6e594d7
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..4e5599635 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="style-src 'self' 
https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.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">

Reply via email to