diff --git a/core/src/main/java/org/elasticsearch/repositories/uri/URLRepository.java b/core/src/main/java/org/elasticsearch/repositories/uri/URLRepository.java index f3c439b59c5..42a27c1dcd4 100644 --- a/core/src/main/java/org/elasticsearch/repositories/uri/URLRepository.java +++ b/core/src/main/java/org/elasticsearch/repositories/uri/URLRepository.java @@ -156,7 +156,7 @@ public class URLRepository extends BlobStoreRepository { logger.warn("cannot parse the specified url [{}]", url); throw new RepositoryException(repositoryName, "cannot parse the specified url [" + url + "]"); } - // We didn't match white list - try to resolve against repo.path + // We didn't match white list - try to resolve against path.repo URL normalizedUrl = environment.resolveRepoURL(url); if (normalizedUrl == null) { logger.warn("The specified url [{}] doesn't start with any repository paths specified by the path.repo setting: [{}] or by repositories.url.allowed_urls setting: [{}] ", url, environment.repoFiles()); diff --git a/docs/reference/modules/snapshots.asciidoc b/docs/reference/modules/snapshots.asciidoc index 4de66b45019..32f412e204c 100644 --- a/docs/reference/modules/snapshots.asciidoc +++ b/docs/reference/modules/snapshots.asciidoc @@ -141,7 +141,7 @@ This setting supports wildcards in the place of host, path, query, and fragment. repositories.url.allowed_urls: ["http://www.example.org/root/*", "https://*.mydomain.com/*?*#*"] ----------------------------------- -URL repositories with `file:` URLs can only point to locations registered in the `repo.path` setting similiar to +URL repositories with `file:` URLs can only point to locations registered in the `path.repo` setting similiar to shared file system repository. [float]