32 lines
546 B
Plaintext
32 lines
546 B
Plaintext
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
----
|
|
var ip = "192.168.12.42";
|
|
var address = IPAddress.Parse(ip);
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
var ip = ConfigurationManager.AppSettings["myapplication.ip"];
|
|
var address = IPAddress.Parse(ip);
|
|
----
|
|
|
|
include::../exceptions.adoc[]
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|