```swift import Foundation let url = URL(fileURLWithPath: "/tmp/x") print(url.appendingPathExtension("")) // Swift 5.10: file:///tmp/x // Swift 6.0: file:///tmp/x. ``` This behavior change might be tricky as `url.deletingPathExtension().appendingPathExtension(url.pathExtension)` won't be equal to `url`. Https://github.com/swiftlang/swift-driver/pull/1756 revealed this change. Could you check if this is an intentional change? @jrflat