unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#45782: (web uri): URI hosts cannot be hexadecimal numbers
@ 2021-01-11 13:43 Vivien Kraus via Bug reports for GUILE, GNU's Ubiquitous Extension Language
  0 siblings, 0 replies; only message in thread
From: Vivien Kraus via Bug reports for GUILE, GNU's Ubiquitous Extension Language @ 2021-01-11 13:43 UTC (permalink / raw)
  To: 45782

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






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-11 13:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-11 13:43 bug#45782: (web uri): URI hosts cannot be hexadecimal numbers Vivien Kraus via Bug reports for GUILE, GNU's Ubiquitous Extension Language

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).