This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-10-test by this push:
     new 100247f38f Remove the referrer from Webserver to Scarf (#42901) 
(#42942)
100247f38f is described below

commit 100247f38fe6955d4825ae09b81a8703caf2221a
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Oct 11 16:35:11 2024 +0100

    Remove the referrer from Webserver to Scarf (#42901) (#42942)
    
    This will make sure we don't receive any information about the Webserver 
URL sending the info like the number of plugins and such.
    
    (cherry picked from commit 39f8e1d487ab8f1969aaec512fdffacca989813c)
---
 airflow/www/templates/airflow/dags.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/www/templates/airflow/dags.html 
b/airflow/www/templates/airflow/dags.html
index 1f679d880e..d02b70a396 100644
--- a/airflow/www/templates/airflow/dags.html
+++ b/airflow/www/templates/airflow/dags.html
@@ -489,6 +489,6 @@
     }
   </script>
   {% if scarf_url %}
-  <img referrerpolicy="no-referrer-when-downgrade" src="{{ scarf_url }}" 
width="0" height="0" alt="" style="display:none;" />
+  <img referrerpolicy="no-referrer" src="{{ scarf_url }}" width="0" height="0" 
alt="" style="display:none;" />
   {% endif %}
 {% endblock %}

Reply via email to