Linux: Empty `URLComponents` does not generate valid URL

Hello all!

I filed this bug yesterday:

And just wanted to see if that makes sense. This bit us in the butt
yesterday in our router: Work around empty query components bug. by mbrandonw · Pull Request #86 · pointfreeco/swift-web · GitHub

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:

[SR-6527] Linux: Empty `URLComponents` does not generate valid URL · Issue #3774 · apple/swift-corelibs-foundation · GitHub

And just wanted to see if that makes sense. This bit us in the butt yesterday in our router: Work around empty query components bug. by mbrandonw · Pull Request #86 · pointfreeco/swift-web · GitHub

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:

[SR-6527] Linux: Empty `URLComponents` does not generate valid URL · Issue #3774 · apple/swift-corelibs-foundation · GitHub

And just wanted to see if that makes sense. This bit us in the butt
yesterday in our router: Work around empty query components bug. by mbrandonw · Pull Request #86 · pointfreeco/swift-web · GitHub

Thanks!