airflow icon indicating copy to clipboard operation
airflow copied to clipboard

[v2-10-test] Handle relative paths when sanitizing URLs (#41995)

Open potiuk opened this issue 1 year ago • 0 comments

  • Handle relative paths when sanitizing URLs

In the initial PR(https://github.com/apache/airflow/pull/41665) we didn't handle the relative path in URL which led to issue(https://github.com/apache/airflow/issues/41977). This PR aims at handling the relative path case when sanitizing URLs

  • Add PR suggestions

  • Update code comment (cherry picked from commit 0429bf4e2839f66433d0abfa9c8c6dff6568e965)


^ 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.

potiuk avatar Dec 19 '24 15:12 potiuk