Skip to content

Avoid 500 on dag redirect#27064

Merged
jedcunningham merged 1 commit intoapache:mainfrom
astronomer:fix_dag_redirect_500
Oct 14, 2022
Merged

Avoid 500 on dag redirect#27064
jedcunningham merged 1 commit intoapache:mainfrom
astronomer:fix_dag_redirect_500

Conversation

@jedcunningham
Copy link
Member

@jedcunningham jedcunningham commented Oct 14, 2022

A 500 could happen if the dag_id was passed in the path and as a query param. This always uses the path dag_id in that situation (ignoring the query param completely).

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Oct 14, 2022
@jedcunningham jedcunningham merged commit c550bbf into apache:main Oct 14, 2022
@jedcunningham jedcunningham deleted the fix_dag_redirect_500 branch October 14, 2022 19:34
@ephraimbuddy ephraimbuddy added the type:bug-fix Changelog: Bug Fixes label Oct 18, 2022
@ephraimbuddy ephraimbuddy added this to the Airflow 2.4.2 milestone Oct 18, 2022
ephraimbuddy pushed a commit that referenced this pull request Oct 18, 2022
(cherry picked from commit c550bbf)
ephraimbuddy pushed a commit that referenced this pull request Oct 18, 2022
(cherry picked from commit c550bbf)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserver Webserver related Issues type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants