bug#53201: string->uri-reference rejects domain names with final ‘.’

2025-03-02 Thread Dr. Arne Babenhauserheide
Merged — thank you for the report and the fix! - Arne signature.asc Description: PGP signature

bug#53201: string->uri-reference rejects domain names with final ‘.’

2022-01-27 Thread dsmich
New patch. Now with 3 test cases! -Dale From f4eece6395e75197030bff42a583e847e5a34e15 Mon Sep 17 00:00:00 2001 From: "Dale P. Smith" Date: Thu, 27 Jan 2022 19:20:57 -0500 Subject: [PATCH] Allow trailing "." in urls bug #53201 --- module/web/uri.scm| 17 ++--- test-suit

bug#53201: string->uri-reference rejects domain names with final ‘.’

2022-01-26 Thread dsmich
Probably not the best fix. Seems to work. Includes a few tests. -Dale diff --git a/module/web/uri.scm b/module/web/uri.scm index 8e0b9bee7..d6758fcc6 100644 --- a/module/web/uri.scm +++ b/module/web/uri.scm @@ -212,7 +212,9 @@ for ‘build-uri’ except there is no scheme." (and (regexp-exec domain-

bug#53201: string->uri-reference rejects domain names with final ‘.’

2022-01-11 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
Guilers, What the subject says :-) Omitting the final dot is optional (and common), not mandatory. scheme@(guile-user)> (string->uri-reference "http://x.org";) $1 = #< … host: "x.org" …> scheme@(guile-user)> (string->uri-reference "http://x.org.";) $2 = #f ; wrong! This actually breaks