bug-guile
[Top][All Lists]
Advanced

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

bug#45782: (web uri): URI hosts cannot be hexadecimal numbers


From: Vivien Kraus
Subject: bug#45782: (web uri): URI hosts cannot be hexadecimal numbers
Date: Mon, 11 Jan 2021 14:43:53 +0100
User-agent: Evolution 3.34.2

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

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