You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2025/11/21 14:27:24 UTC

(airflow) branch v3-1-test updated: [v3-1-test] Fix tag filter with special characters (#58280) (#58558)

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

pierrejeambrun pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v3-1-test by this push:
     new 45798e41462 [v3-1-test] Fix tag filter with special characters (#58280) (#58558)
45798e41462 is described below

commit 45798e414622b892496c1f5ccd220fd143ffdbc2
Author: Guan-Ming (Wesley) Chiu <10...@users.noreply.github.com>
AuthorDate: Fri Nov 21 22:27:18 2025 +0800

    [v3-1-test] Fix tag filter with special characters (#58280) (#58558)
    
    (cherry picked from commit aebbf2de86584ab1340c37da9d11222b06788f55)
    
    Co-authored-by: Steve Ahn <st...@g.ucla.edu>
---
 airflow-core/src/airflow/ui/src/pages/DagsList/DagTags.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow-core/src/airflow/ui/src/pages/DagsList/DagTags.tsx b/airflow-core/src/airflow/ui/src/pages/DagsList/DagTags.tsx
index 6f28113236f..f4d38d62abe 100644
--- a/airflow-core/src/airflow/ui/src/pages/DagsList/DagTags.tsx
+++ b/airflow-core/src/airflow/ui/src/pages/DagsList/DagTags.tsx
@@ -35,7 +35,7 @@ export const DagTags = ({ hideIcon = false, tags }: Props) => (
     icon={hideIcon ? undefined : <FiTag data-testid="dag-tag" />}
     interactive
     items={tags.map(({ name }) => (
-      <RouterLink key={name} to={`/dags?${SearchParamsKeys.TAGS}=${name}`}>
+      <RouterLink key={name} to={`/dags?${SearchParamsKeys.TAGS}=${encodeURIComponent(name)}`}>
         {name}
       </RouterLink>
     ))}