History log of /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a03ec4ced2b11f9eae6cbeeedb1db2b1b29fafb1 19-Nov-2014 Alex Klyubin <klyubin@google.com> Fix a bug in OkHostnameVerifier wildcard handling.

Wildcard domain name patterns of the form *.remainder are supposed to
match domain names that exactly match the remainder. Due to a bug,
the match was not exact but rather a prefix match: domain names
starting with the remainder would match too.

This CL fixes the issue.

Bug: 18432707
Change-Id: I2639ff51cabcbd395d4f30a9c69f9895738e0acf
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java
53f542f99c10ac4a99e6d3de8df0246a2025d8e9 29-Jul-2014 Alex Klyubin <klyubin@google.com> DO NOT MERGE Revert "Remove workaround for *.clients.google.com."

This reverts commit fa38bbf9c7e67011207e31c3372a5a3da765dfe5.

Turns out some apps that connect to android.clients.google.com
still do not use SNI and thus get served a server cert for
*.google.com.

Bug: 5426333
Bug: 16635883
Change-Id: I9009e031070199a2908ad16ca3d7a0a54ea7abcd
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java
fa38bbf9c7e67011207e31c3372a5a3da765dfe5 24-Jul-2014 Alex Klyubin <klyubin@google.com> Remove workaround for *.clients.google.com.

This removes the workaround for broken TLS/SSL server certificates
that were being presented by android.clients.google.com in early 2012
(8576f309825e23add080f2a50345ec1884939c39). The server is presenting
better certificates these days and the workaround is no longer needed.

This is a cherry-pick of upstream commit
https://github.com/square/okhttp/commit/9549fb4455f54d96a307ce17d280ff55df855470

Bug: 5426333

(cherry picked from commit 66acc6793a519c3bf26ccf1bc2f85fa17c19e5ec)

Change-Id: I3a0cee90391e786f5e469ed3af0b9e4d4aa02307
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java
166772be0e5cfdaea1a64b9f63e4c8dbfe48cba3 04-Nov-2013 Narayan Kamath <narayan@google.com> Update okhttp.

Updated to commit 19a21936ffbb5e358799af9e4fb7306af45f38.

This also moves src/ to okhttp/src/ to stay faithful
to the original okhttp tree & to make it easier to pull
updates.

Change-Id: Ia1971823f31e5c6957d831f368e3a1fcce38d44d
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/OkHostnameVerifier.java