GNU bug report logs - #45782
(web uri): URI hosts cannot be hexadecimal numbers

Previous Next

Package: guile;

Reported by: Vivien Kraus <vivien <at> planete-kraus.eu>

Date: Mon, 11 Jan 2021 13:52:02 UTC

Severity: normal

To reply to this bug, email your comments to 45782 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#45782; Package guile. (Mon, 11 Jan 2021 13:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Vivien Kraus <vivien <at> planete-kraus.eu>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 11 Jan 2021 13:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Vivien Kraus <vivien <at> planete-kraus.eu>
To: bug-guile <at> gnu.org
Subject: (web uri): URI hosts cannot be hexadecimal numbers
Date: Mon, 11 Jan 2021 14:43:53 +0100
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





This bug report was last modified 3 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.