apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
35.21k stars 13.76k forks source link

fix: trim leading // character using mysql backend #40401

Closed claneys closed 4 days ago

claneys commented 4 days ago

Using mysql backend needs to compute a connection string without scheme which using the urlJoin templating function left the // characters at the beginning of the string. This PR trim those characters to get a correct mysql connection string.


^ Add meaningful description above Read the Pull Request Guidelines for more information. In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed. In case of a new dependency, check compliance with the ASF 3rd Party License Policy. In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.