From 41239488d8237857ba17a9be5f426f35744ed983 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Wed, 2 May 2018 19:44:39 -0400 Subject: [PATCH] Corrects special-string variable in docs. Fixes #997 --- docs/src/main/asciidoc/spring-cloud-config.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 56c59468..de9701f5 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -4,7 +4,7 @@ :docslink: {githubmaster}/docs/src/main/asciidoc :toc: :nofooter: -:special-string: $$_$$ +:special-string: _ *{spring-cloud-version}* @@ -115,7 +115,7 @@ To scale the Config Server up and make it highly available, you need to have all Even in that case, it is better to use the `ssh:` protocol for a shared filesystem repository, so that the server can clone it and use a local working copy as a cache. This repository implementation maps the `{label}` parameter of the HTTP resource to a git label (commit id, branch name, or tag). -If the git branch or tag name contains a slash (`/`), then the label in the HTTP URL should instead be specified with the special string `{special-string}` (to avoid ambiguity with other URL paths). +If the git branch or tag name contains a slash (`/`), then the label in the HTTP URL should instead be specified with the special string `({special-string})` (to avoid ambiguity with other URL paths). For example, if the label is `foo/bar`, replacing the slash would result in the following label: `foo({special-string})bar`. The inclusion of the special string `({special-string})` can also be applied to the `{application}` parameter. If you use a command-line client such as curl, be careful with the brackets in the URL -- you should