تخطَّ إلى المحتوى

Cleartext HTTP (ARCH9118)

هذا المحتوى غير متوفر بلغتك بعد.

Key swift.security.cleartext-http · Severity warning · Category security · CWE CWE-319

Flags hardcoded http:// endpoints (localhost excepted).

let api = URL(string: "http://api.example.com/v1")!
let api = URL(string: "https://api.example.com/v1")!

Use https:// for every non-local endpoint.