Karl

Results 111 comments of Karl

Hmm, I also found what I believe to be an ambiguity in UTS46, which is causing actual implementation divergence, so I sent a Unicode Error Report for that to be...

So I finally had time to set up a Windows VM, and I've found that `URLCreateFromPathA` does indeed produce URLs with percent-encoding in the hostname: `\\some computer\vol\file` -> `file://some%20computer/vol/file` `\\?\vol\file`...

@alwinb I don't think that is true - whilst it does say "Let host be the result of host parsing buffer with url is not special.", that is the same...

I'm experimenting with a new query params interface for my URL library, and I figured some of the ideas might be useful for future web APIs. The model I'm going...

I agree; `&` and `=` are the default delimiters, and the vast majority of developers will never need to change them (or create a custom schema at all; they can...

7. Start percent-encoding spaces in the paths of cannot-be-a-base URLs I can't think of anywhere else where naked spaces are allowed (not in the scheme, query, fragment, userinfo, not in...

Setters being round-trippable is nice. I'd like to add that I think setters should preserve the structure of the URL component, so that `urlA.component = urlB.component` should strive to not...

I've been adding host-parsing APIs to my Swift library recently to handle these kinds of use-cases. There really are [a lot of edge-cases](https://github.com/karwa/swift-url/blob/eeb65e037ab56c2defc2740cde96f4e52a3e105a/Tests/WebURLTests/HostTests.swift#L382) to go through, so it truly does...

> The Writing section suggests that drive letters are allowed in file URLs only if they do not have a host. I'm not sure if that is correct. Of the...

You could work around it by percent-encoding the `:` or `|` character; `c%3A` is not considered a drive letter. When creating a file URL from a file path, you already...