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 <[email protected]>
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
 

Reply via email to