Skip to content

Fix misinformation about the need to quote IPv4 addresses - #93

Open
seifferth wants to merge 1 commit into
deltachat:mainfrom
seifferth:patch-1
Open

Fix misinformation about the need to quote IPv4 addresses#93
seifferth wants to merge 1 commit into
deltachat:mainfrom
seifferth:patch-1

Conversation

@seifferth

Copy link
Copy Markdown

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.

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.

@iequidoo iequidoo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test in Chatmail Core should be fixed as well: https://github.com/chatmail/core/blob/94fc4f7550045544e3ae8c540582484785f61ec3/src/qr/dclogin_scheme.rs#L386-L389
The address in square brackets is parsed successfully there, but it it wouldn't actually work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants