apple / swift-foundation

The Foundation project
Apache License 2.0
2.28k stars 135 forks source link

FoundationEssentials: canonicalise the arc separator more aggressively #669

Closed compnerd closed 4 weeks ago

compnerd commented 4 weeks ago

When trying to get the file system representation of a string, we may have previously used appendingPathComponent(_:) which will have used the incorrect separator. Ensure that all the separators are properly converted prior to returning the path.

compnerd commented 4 weeks ago

@swift-ci please test

compnerd commented 4 weeks ago

@swift-ci please test

compnerd commented 4 weeks ago

@swift-ci please test

compnerd commented 4 weeks ago

@swift-ci please test

compnerd commented 4 weeks ago

@swift-ci please test

compnerd commented 4 weeks ago

@swift-ci please test

compnerd commented 4 weeks ago

@swift-ci please test