- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.2k
 
[Android] Improvements to remote certificate verification in SslStream #77386
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
Changes from 60 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
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -153,7 +153,7 @@ public void Properties_AddItemToDictionary_ItemPresent() | |
| 
     | 
||
| [ConditionalFact] | ||
| [SkipOnPlatform(TestPlatforms.Browser, "ServerCertificateCustomValidationCallback not supported on Browser")] | ||
| [SkipOnPlatform(TestPlatforms.Android, "IPv6 loopback with SSL doesn't work on Android")] | ||
| [SkipOnPlatform(TestPlatforms.Android, "TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules")] | ||
| public async Task GetAsync_IPv6LinkLocalAddressUri_Success() | ||
| { | ||
| if (IsWinHttpHandler && UseVersion >= HttpVersion20.Value) | ||
| 
          
            
          
           | 
    @@ -205,7 +205,7 @@ public async Task GetAsync_IPBasedUri_Success(IPAddress address) | |
| 
     | 
||
| if (PlatformDetection.IsAndroid && options.UseSsl && address == IPAddress.IPv6Loopback) | ||
| { | ||
| throw new SkipTestException("IPv6 loopback with SSL doesn't work on Android"); | ||
| throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules"); | ||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It seems like that can be turned off..???? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It has an allow list of characters that doesn't include   | 
||
| } | ||
| 
     | 
||
| await LoopbackServerFactory.CreateServerAsync(async (server, url) => | ||
| 
          
            
          
           | 
    @@ -287,7 +287,7 @@ public async Task GetAsync_SecureAndNonSecureIPBasedUri_CorrectlyFormatted(IPAdd | |
| 
     | 
||
| if (PlatformDetection.IsAndroid && useSsl && address == IPAddress.IPv6Loopback) | ||
| { | ||
| throw new SkipTestException("IPv6 loopback with SSL doesn't work on Android"); | ||
| throw new SkipTestException("TargetHost cannot be set to an IPv6 address on Android because the string doesn't conform to the STD 3 ASCII rules"); | ||
| } | ||
| 
     | 
||
| var options = new LoopbackServer.Options { Address = address, UseSsl = useSsl }; | ||
| 
          
            
          
           | 
    ||
Uh oh!
There was an error while loading. Please reload this page.