diff options
author | Chiachang Wang <chiachangwang@google.com> | 2020-05-29 22:38:12 +0000 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2020-06-01 00:48:58 +0000 |
commit | ffaef4931580b63c3df88b98b54d47012ada70d0 (patch) | |
tree | 20008b073f5ca6afea42846597616319e6cabcf2 /src/android/net/util/NetworkStackUtils.java | |
parent | 1e2e741071140b5f911db91b2008bda8dbdb732e (diff) |
Fallback if redirect url is not valid for captive portal login
Wifi AP may send a relative URL or other invalid URL if any
network issue or configuration issue happen. In this kind of
case, sending a redirect url to captive portal app will fail
to open the login page. Thus, fallback to send detection url
if the redirect url is a malformed URL.
Bug: 157433005
Test: atest NetworkStackTest
Merged-In: I6126f5aeb4709a09ec249947b5e59f1310ec7a4b
Change-Id: I6126f5aeb4709a09ec249947b5e59f1310ec7a4b
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions