- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for lastIndexOf (0.32 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
} // Check that asterisk did not match across domain name labels. val suffixStartIndexInHostname = hostname.length - suffix.length if (suffixStartIndexInHostname > 0 && hostname.lastIndexOf('.', suffixStartIndexInHostname - 1) != -1 ) { return false // Asterisk is matching across domain name labels -- not permitted. } // Hostname matches pattern. return true }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 7.7K bytes - Viewed (0)