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

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

commit 68e38ba17e43345d40a433fa6cd98586501a683c
Author: Pat Garziglia <[email protected]>
AuthorDate: Wed Feb 14 10:52:41 2024 -0500

    Fix bug with clicking url-unsafe tags (#37395)
    
    (cherry picked from commit 70603f7193404c38feb09ad4ccbf927b0ce2d07b)
---
 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 0acd68b5a1..9c787cb1fc 100644
--- a/airflow/www/templates/airflow/dags.html
+++ b/airflow/www/templates/airflow/dags.html
@@ -262,7 +262,7 @@
               <div>
                 {% for tag in dag.tags | sort(attribute='name') %}
                   <a class="label label-info"
-                     href="?tags={{ tag.name }}"
+                     href="?tags={{ tag.name | urlencode }}"
                      style="margin: 6px 6px 0 0;">
                     {{ tag.name }}
                   </a>

Reply via email to