-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Description
Apache Airflow version
3.1.2
If "Other Airflow 2/3 version" selected, which one?
No response
What happened?
Detailed description:
I have a DAG with a tag named Corporate & SME. This tag appears correctly in the tags dropdown list.
However, when I click on this tag in the DAG list, only “Corporate” appears as the selected tag, and the filter returns no results.
When I test with Corporate-SME, everything works as expected.
Actual behavior:
The ampersand breaks the query parameter, resulting in only part of the tag being recognized (Corporate) and no DAGs being returned.
Picture 1.1 & 1.2: When click to tag name on both view

What you think should happen instead?
When clicking a tag containing an ampersand, the URL should be properly encoded, and the filter should correctly apply to the full tag (Corporate & SME).
How to reproduce
Possible root cause:
The & character is not properly URL-encoded in the link.
Expected behavior would be a URL like: /dags?tags=Corporate+%26+SME
But instead, the generated URL is: /dags?tags=Corporate%20&%20SME
Operating System
Podman container
Versions of Apache Airflow Providers
Observed in Apache Airflow 3.1.2 (released 2025-11-05)
Deployment
Other
Deployment details
Podman container
Anything else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct


