Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with clicking url-unsafe tags #37395

Merged
merged 1 commit into from Feb 14, 2024
Merged

Conversation

patgarz
Copy link
Contributor

@patgarz patgarz commented Feb 13, 2024


When using the text input box, filtering DAGs on a tag with url-unsafe characters (for example, #slack-channel) replaces the url-unsafe characters with their url encoded equivalents: /home?tags=%23slack-channel

However when you click on a tag to filter, the tag is not urlencoded, which leads to an error: the url is translated to /home#slack-channel with the return message No matching DAG tags found. (as the browser does not know how to interpret # and ? together, I assume).

This fix ensures that clicking tags also url encodes them which causes #hash-tags and other special characters to work correctly when clicking tags to filter.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Feb 13, 2024
@bbovenzi bbovenzi added the type:bug-fix Changelog: Bug Fixes label Feb 14, 2024
@bbovenzi bbovenzi added this to the Airflow 2.8.2 milestone Feb 14, 2024
@bbovenzi bbovenzi merged commit 70603f7 into apache:main Feb 14, 2024
56 checks passed
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 20, 2024
sunank200 pushed a commit to astronomer/airflow that referenced this pull request Feb 21, 2024
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants