Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] Improvements to remote certificate verification in SslStream #77386
[Android] Improvements to remote certificate verification in SslStream #77386
Changes from 65 commits
4fdd70a
a4726a6
18214ea
193f3c6
6e8659f
c84e355
f1d429f
3e72ff3
2d9a2ec
04da7c9
28c360b
220a83e
c483e31
e42a67d
476bd84
f3fb8c5
f579d38
663c40d
e68908b
9cfd08b
1bc237e
7b04be0
2f70a5d
af18da7
4a7c785
21a69ed
6cb7122
7aa11a9
405dd0c
0e86a01
b4f0e81
c74d272
90ea148
343cc65
2dd1ab7
d7d95e0
aeb5714
b4b5589
3118376
c16ad79
446d4a3
4b4af02
ae2fb90
eb41d22
e9c018f
c2038ac
ac72811
3c7378a
010516c
9681df0
ccae3e2
019a83d
fb793fa
5d26948
2dec0d5
6d55d21
0d42b22
694589b
315ca06
9c1e0a3
b94a12c
061285a
52e65b1
d2d695a
b6f5385
6a0b8ef
e5d1e8d
292b893
50befcf
34e7fac
5dcf43a
f3d9ac4
1338689
f4ff98a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like that can be turned off..????
https://developer.android.com/reference/java/net/IDN
Is this because it does not like "::1" format?
Would it work in the long form? e.g. "0:0:0:0:0:0:0:1" or "[0:0:0:0:0:0:0:1]"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has an allow list of characters that doesn't include
:
, it's not just about the loopback address specifically so the long forms don't work either. We can't turn it off AFAIK. I'm by no means an expert in this area but from what I read it's a bad practice to put IP addresses into SNI host name (see #79143).