[Top][All Lists]

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

bug#40582: Valid URIs are rejected

From: Julien Lepiller
Subject: bug#40582: Valid URIs are rejected
Date: Sun, 12 Apr 2020 15:44:31 -0400
User-agent: K-9 Mail for Android


Using (web uri), I was trying to parse "uri://a/c". Reading RFC3986, it should 
be a valid URI (see rule for reg-name in 3.2.2). However, passing it to 
string->uri results in #f. I've tracked this down to valid-host? which returns 
#f for "a".

The reason is that the regexp checking if the host is an ipv6 matches "a", 
which shouldn't happen because a is not an ipv6 address. Indeed, when I try 
(string->uri "uri://g/b"), I get the expected result.

reply via email to

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