Skip to content

Commit

Permalink
Fix wording++
Browse files Browse the repository at this point in the history
  • Loading branch information
teemu-rytilahti-sonarsource committed Feb 10, 2025
1 parent dbb7756 commit d0a9d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/S5527/go/how-to-fix-it/std.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include::../../common/fix/code-rationale.adoc[]

Hostname validation is disabled if ``++InsecureSkipVerify++`` is set to `true` for ``++TLSClientConfig++`` used for the transport class.

It is recommended to prefer high-level interfaces (like ``++http.Get()++``), which perform the certificate validation instead of using ``++http.Client++`` directly.
For HTTPS, it is recommended to use high-level interfaces (like ``++http.Get()++``), which perform the certificate validation instead of using ``++http.Client++`` directly.

==== Noncompliant code example

Expand Down

0 comments on commit d0a9d5d

Please sign in to comment.