Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Dec 19, 2024

  • Handle relative paths when sanitizing URLs

In the initial PR(#41665) we didn't handle the relative path in URL which led to issue(#41977). This PR aims at handling the relative path case when sanitizing URLs

  • Add PR suggestions

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


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

* Handle relative paths when sanitizing URLs

In the initial PR(apache#41665) we didn't handle the relative path in URL which led to issue(apache#41977). This PR aims at handling the relative path case when sanitizing URLs

* Add PR suggestions

* Update code comment
(cherry picked from commit 0429bf4)

Co-authored-by: Utkarsh Sharma <utkarsharma2@gmail.com>
@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Dec 19, 2024
@potiuk potiuk requested a review from utkarsharma2 December 19, 2024 15:00
@potiuk
Copy link
Member Author

potiuk commented Dec 20, 2024

Looks good to go :)

Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh. I am surprised that it wasnt landed yet

@potiuk
Copy link
Member Author

potiuk commented Dec 20, 2024

Yeah. I am not sure why it has been missing, but a user noticed that it was not in #41995 (comment) even if it had 2.10.2 as milestone, so we missed it somehow (cc: @utkarsharma2 )

@potiuk potiuk merged commit ab0165b into apache:v2-10-test Dec 20, 2024
47 checks passed
@potiuk potiuk deleted the backport-0429bf4-v2-10-test branch December 20, 2024 12:52
@utkarsharma2 utkarsharma2 added the type:bug-fix Changelog: Bug Fixes label Jan 28, 2025
@utkarsharma2 utkarsharma2 added this to the Airflow 2.10.5 milestone Jan 28, 2025
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.

4 participants