From 39de56b324eac4d8531e6bac019538f7fa4c9aae Mon Sep 17 00:00:00 2001 From: Frank Seifferth Date: Tue, 7 Jul 2026 22:01:24 +0200 Subject: [PATCH] Fix misinformation about the need to quote IPv4 addresses I used the DCLOGIN scheme today to debug an interoperability issue between Delta Chat for Android v2.53.0 and posteo.de. My experience was that `user@192.168.10.20` worked fine while `user@[192.168.10.20]` did not work at all. That's also what I would have expected anyway, since I have not yet seen IPv4 addresses enclosed in square brackets -- whereas for IPv6 it is indeed a very common practice. --- uri-schemes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uri-schemes.md b/uri-schemes.md index 0e4e17c..6a351c0 100644 --- a/uri-schemes.md +++ b/uri-schemes.md @@ -229,7 +229,7 @@ For DCLOGIN this means: - _scheme_ is always dclogin - There must be an _authority_ section - The _userinfo_ part is required. - - The _host_ is a domain name, but can also be an IP address, though note that the IP address needs to be delimited by square brackets (`test@[127.0.0.1]` or `test@[2001:0db8:85a3:0000:0000:8a2e:0370:7334]`). + - The _host_ is a domain name or an IP address. IPv6 addresses need to be delimited by square brackets, while IPv4 addresses work as-is (`test@127.0.0.1` or `test@[2001:0db8:85a3:0000:0000:8a2e:0370:7334]`). - The _path_ may be omitted or be a single `/`. - The fragment must be omitted. - The query parameters are described down below.