You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2025/09/08 00:49:00 UTC
(pulsar-site) 01/01: Fix CSP blocking GitHub badge images on client libraries page
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch fix/csp-shields-io-badges
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 7ab31c878351cd80784578c69b22a4ec4d6ebd82
Author: lili <ll...@streamnative.io>
AuthorDate: Mon Sep 8 08:48:39 2025 +0800
Fix CSP blocking GitHub badge images on client libraries page
- Add https://*.shields.io/ to CSP_PROJECT_DOMAINS in .htaccess
- Fixes display of GitHub stars, last commit, and license badges
- Resolves CSP violations blocking img.shields.io requests
- Affects client library pages showing third-party repository information
---
static/.htaccess | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/static/.htaccess b/static/.htaccess
index 72106078f97..0f4353882a5 100755
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -1,4 +1,4 @@
-SetEnv CSP_PROJECT_DOMAINS "https://*.algolia.net/ https://*.algolianet.com/ https://*.algolia.io/"
+SetEnv CSP_PROJECT_DOMAINS "https://*.algolia.net/ https://*.algolianet.com/ https://*.algolia.io/ https://*.shields.io/"
RewriteEngine On