mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
utils: fix check for mrtalink url (#7636)
Fixes incorrect condition while checking metalink URLs for accesibility
This commit is contained in:
parent
1aa4f80741
commit
658daef715
@ -416,7 +416,7 @@ public class UriUtils {
|
||||
List<String> urls = metalinkUrls.get("url");
|
||||
boolean validUrl = false;
|
||||
for (String u : urls) {
|
||||
if (url.endsWith("torrent")) {
|
||||
if (u.endsWith("torrent")) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user