Skip to content

Conversation

swhitty
Copy link
Owner

@swhitty swhitty commented Aug 23, 2025

Foundation on the *OS 26 releases now includes the same Swift URL implementation used by Linux etc swiftlang/swift-foundation#1238.

This includes some bug fixes for invalid URL conversions which then provides awkward forks in FlyingFox parsing of URL across OS versions. This PR back ports the standardized path logic (removingDotSegments) form swift-foundation so FlyingFox has consistent behaviour across platforms and OS versions.

Copy link

codecov bot commented Aug 23, 2025

Codecov Report

❌ Patch coverage is 76.61290% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.61%. Comparing base (6f06029) to head (19971ed).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...lyingFox/Sources/HTTPDecoder+StandardizePath.swift 76.42% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #167      +/-   ##
==========================================
- Coverage   94.10%   93.61%   -0.49%     
==========================================
  Files          62       63       +1     
  Lines        4138     4261     +123     
==========================================
+ Hits         3894     3989      +95     
- Misses        244      272      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@swhitty swhitty merged commit 50e4822 into main Aug 23, 2025
19 of 24 checks passed
@swhitty swhitty deleted the backport-standardized-url branch August 23, 2025 07:11
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.

1 participant