Skip to content

Conversation

@swankjesse
Copy link
Collaborator

Previously we were misinterpretting which hosts this method applied to.
Suppose an Android app was configured to require TLS for bank.com and
not for any other address. The NetworkSecurityPolicy.isCleartextTrafficPermitted()
method would return false because cleartext traffic wasn't universally
permitted. And OkHttp would incorrectly forbid cleartext communication
to other hosts like puppies.com.

Closes: #2640

…ed().

Previously we were misinterpretting which hosts this method applied to.
Suppose an Android app was configured to require TLS for bank.com and
not for any other address. The NetworkSecurityPolicy.isCleartextTrafficPermitted()
method would return false because cleartext traffic wasn't universally
permitted. And OkHttp would incorrectly forbid cleartext communication
to other hosts like puppies.com.

Closes: #2640
@swankjesse swankjesse force-pushed the jwilson.0702.cleartext branch from aa1bc03 to 1f58b14 Compare July 2, 2016 17:39
@dave-r12
Copy link
Collaborator

dave-r12 commented Jul 2, 2016

Lgtm.

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.

4 participants