From 21e46b0192682ab3a3cb6bb70d7c2a2a40add9ab Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Fri, 24 Feb 2017 11:13:06 -0500 Subject: [PATCH] Clarifying docs for slash in labels Fixes #652 --- docs/src/main/asciidoc/spring-cloud-config.adoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index b8c343d2..fc4bde05 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -151,7 +151,9 @@ 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 be specified with the special string "(_)" instead (to -avoid ambiguity with other URL paths). Be careful with the brackets in +avoid ambiguity with other URL paths). For example, if the label is +`foo/bar, replacing the slash would result in a label that looks like +`foo(_)bar`. Be careful with the brackets in the URL if you are using a command line client like curl (e.g. escape them from the shell with quotes '').