Dear guile developers,

(use-modules (web uri))

(build-uri 'http #:host "g")

(build-uri 'http #:host "a")

The first operation works (#<<uri> scheme: http userinfo: #f host: "g"
port: #f path: "" query: #f fragment: #f>), the second does not (Throw
to key `uri-error' with args `("Expected valid host: ~s" ("a"))'.). My
guess is that hexadecimal numbers are not accepted for hosts. This bug
happens rarely (as soon as there is a dot in the host name, it is
accepted).

Best regards,

vivien




Reply via email to