bug#45782: (web uri): URI hosts cannot be hexadecimal numbers
Vivien Kraus via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <[email protected]> |
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