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

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 39f8e1d487 Remove the referrer from Webserver to Scarf (#42901)
39f8e1d487 is described below

commit 39f8e1d487ab8f1969aaec512fdffacca989813c
Author: Kaxil Naik <[email protected]>
AuthorDate: Fri Oct 11 13:35:00 2024 +0100

    Remove the referrer from Webserver to Scarf (#42901)
    
    This will make sure we don't receive any information about the Webserver 
URL sending the info like the number of plugins and such.
---
 airflow/www/templates/airflow/dags.html | 2 +-
 docs/apache-airflow/faq.rst             | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/airflow/www/templates/airflow/dags.html 
b/airflow/www/templates/airflow/dags.html
index c629936df7..6da7090a14 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 %}
diff --git a/docs/apache-airflow/faq.rst b/docs/apache-airflow/faq.rst
index 5d4aea6ddd..0b2c76765e 100644
--- a/docs/apache-airflow/faq.rst
+++ b/docs/apache-airflow/faq.rst
@@ -548,4 +548,3 @@ The telemetry data collected is limited to the following:
 - Number of DAGs
 - Number of Airflow plugins
 - Number of timetables, Flask blueprints, Flask AppBuilder views, and Flask 
Appbuilder menu items from Airflow plugins
-- and information from tracking pixels like URL / IP-address as documented in 
the `Scarf Privacy Policy <https://about.scarf.sh/privacy-policy>`__.

Reply via email to