Package jenkins.util

Class UrlHelper

java.lang.Object
jenkins.util.UrlHelper

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class UrlHelper extends Object
Objective is to validate an URL in a lenient way sufficiently strict to avoid too weird URL but to still allow particular internal URL to be accepted
  • Constructor Details

    • UrlHelper

      public UrlHelper()
  • Method Details

    • isValidRootUrl

      public static boolean isValidRootUrl(String url)