From 4d40a47eab614514b8b46546313b45e64b53b999 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Fri, 20 Dec 2013 11:32:26 +0100 Subject: [PATCH] Fix @uri example Previously, the @uri example didn't match the actual behavior of the current jq, as exclamation marks do not need to be encoded in URIs. Replace the example with an input that needs encoding, and is encoded by jq. --- docs/content/3.manual/manual.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index fc98e9ed..b5952bb1 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -1021,9 +1021,9 @@ sections: @uri "http://www.google.com/search?q=\(.search)" will produce the following output for the input - `{"search":"jq!"}`: + `{"search":"what is jq?"}`: - http://www.google.com/search?q=jq%21 + "http://www.google.com/search?q=what%20is%20jq%3f" Note that the slashes, question mark, etc. in the URL are not escaped, as they were part of the string literal.