code: private static void addURL(final List<URI> list, final String uriString) {
          try {
              try {
                  val url = new URL(URLDecoder.decode(uriString, StandardCharsets.UTF_8.name()));
                  list.add(new URI(url.getProtocol(), url.getAuthority(), url.getPath(), url.getQuery(), null));
              } catch (final MalformedURLException e) {
                  list.add(new URI(uriString));
              }
          } catch (final Exception e) {
              LOGGER.warn("[{}] is not a valid distribution point URI.", uriString);
          }
      }
docs: Adds the url to the list.
  Build URI by components to facilitate proper encoding of querystring.
  e.g. http://example.com:8085/ca?action=crl&issuer=CN=CAS Test User CA
  <p>
  <p>If {@code uriString} is encoded, it will be decoded with {@code UTF-8}
  first before it's added to the list.</p>
  
  @param list      the list
  @param uriString the uri string