bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10410: bump: Bug#10410: numbers, ipv6 addresses in uri module


From: Andy Wingo
Subject: bug#10410: bump: Bug#10410: numbers, ipv6 addresses in uri module
Date: Sat, 07 Jul 2012 11:38:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

Hi Daniel,

Thanks for testing (& for the original patches :)

On Sat 07 Jul 2012 06:01, Daniel Hartwig <address@hidden> writes:

> One small nitpick, depending on what uri-host is defined to be
> returning this may or may not differ from spec.:
>
>  host        = IP-literal / IPv4address / reg-name
>
>  IP-literal    = "[" ( IPv6address / IPvFuture  ) "]"
>
> In my intuition, a call to build-uri is naturally of the form:
>
>  (build-uri #:scheme 'http
>             #:host "[2001:db8::1]")

Yeah it is a bit confusing.  I think the thing to do is to consider the
brackets as part of how ip-literals are delimited within a URI, and not
part of the host itself.  Thus it would be Guile's responsibility to add
them or remove them.  But as you say, this goes against the RFC.

At the same time, I'd like to be able to always pass the result of
inet-ntop to build-uri #:host.

The internet is a messy place!

Andy
-- 
http://wingolog.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]