Linux: Empty `URLComponents` does not generate valid URL

Hello all!

I filed this bug yesterday:

https://bugs.swift.org/browse/SR-6527

And just wanted to see if that makes sense. This bit us in the butt
yesterday in our router: https://github.com/pointfreeco/swift-web/pull/86

Thanks!

Thanks, it's good to know where these issues are when we find them. It would be useful to know which version of Swift you were running here; if you can add that to the bug, it would be good.

Alex

···

On 5 Dec 2017, at 12:55, Brandon Williams via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hello all!

I filed this bug yesterday:

https://bugs.swift.org/browse/SR-6527

And just wanted to see if that makes sense. This bit us in the butt yesterday in our router: https://github.com/pointfreeco/swift-web/pull/86

Oops! I updated the bug report.

I’m using Xcode 9.2 beta 9C34b, Swift 4.0.3

Thanks!

···

On Tue, Dec 5, 2017 at 7:55 AM Brandon Williams <mbw234@gmail.com> wrote:

Hello all!

I filed this bug yesterday:

https://bugs.swift.org/browse/SR-6527

And just wanted to see if that makes sense. This bit us in the butt
yesterday in our router: https://github.com/pointfreeco/swift-web/pull/86

Thanks!