[swift-evolution] [Bug] Foundation.URL should support semicolon(; ) appearing in URL path

Saagar Jha saagar at saagarjha.com
Tue Oct 25 14:50:21 CDT 2016


This is expected behavior. The semicolon character is reserved in URLs, and
it requires escaping if it is used.
On Tue, Oct 25, 2016 at 12:05 Cao, Jiannan via swift-evolution <
swift-evolution at swift.org> wrote:

>
> http://host/book;id=1/page;2/
>
> this URL is a valid URL, but URLComponents will ruin it with %3B
> http://host/book%3Bid=1/page%3B2/
>
> Since Swift Server is coming out, this bug should be solved.
>
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161025/05806e8f/attachment.html>


More information about the swift-evolution mailing list