Skip to content

Conversation

jrflat
Copy link
Contributor

@jrflat jrflat commented Oct 28, 2024

Explanation: Corrects URL.appending(path:) behavior to prevent an empty relative path from becoming absolute, which would no longer resolve against the base URL.
Scope: Only impacts URL.appending(...) APIs when the relative path is empty.
Original PR: #988
Risk: Low - Small change to fix breaking behavior in this edge case.
Testing: Added unit tests, swift-ci, stable in main
Reviewer: @jmschonfeld

Resolves #921 for release/6.0

@jrflat
Copy link
Contributor Author

jrflat commented Oct 28, 2024

@swift-ci please test

@jrflat jrflat requested review from parkera and itingliu October 28, 2024 21:50
@jrflat jrflat merged commit 201e2d2 into swiftlang:release/6.0 Oct 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants