Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      public class MyClient {
          public void SendRequest(){
              HttpRequest req = new HttpRequest();
              req.setEndpoint('http://example.com');  // Noncompliant
              // ...
          }
      }
      

      Compliant Solution

      public class MyClient {
          public void SendRequest(){
              HttpRequest req = new HttpRequest();
              req.setEndpoint('https://example.com');
              // ...
          }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nicolas.harraudeau Nicolas Harraudeau
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: