<BUG>return invalidRegistrationResponse("An invalid redirect URI was specified: " + uri);</BUG><CONTEXT>String[] allUris = redirectURI.trim().split(" ");List<String> redirectUris = new LinkedList<String>();for (String uri : allUris) {if (!StringUtils.isEmpty(uri)) {if (!isValidURI(uri, false)) {<extra_id_0>}redirectUris.add(uri);}</CONTEXT>
throwInvalidRegistrationException("An invalid redirect URI was specified: " + uri);