private static void addURL(final List<URI> list, final String uriString) {
        try {
            try {
                val url = new URL(URLDecoder.decode(uriString, StandardCharsets.UTF_8));
                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) {
            LoggingUtils.warn(LOGGER, e);
        }
    }
Adds the url to the list.
Build URI by components to facilitate proper encoding of querystring.
e.g. {@code http://example.com:8085/ca?action=crl&issuer=CN=CAS} Test User CA
<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
support/cas-server-support-x509-core/src/main/java/org/apereo/cas/adaptors/x509/authentication/revocation/checker/CRLDistributionPointRevocationChecker.java