Cleartext HTTP (ARCH8118)
Ce contenu n’est pas encore disponible dans votre langue.
Key kotlin.security.cleartext-http · Severity warning · Category security · CWE CWE-319
Flags hardcoded http:// endpoints (localhost excepted).
Incorrect
Section titled “Incorrect”val api = "http://api.example.com/v1"Correct
Section titled “Correct”val api = "https://api.example.com/v1"Use https:// for every non-local endpoint.