You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2020/09/22 20:53:29 UTC
[nifi] 03/06: NIFI-7816: Correct documentation example for
urlEncode function in Expression Language Guide (#4536)
This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch support/nifi-1.12.x
in repository https://gitbox.apache.org/repos/asf/nifi.git
commit 52f219bf0838f667a07e7109dae486a1439c719c
Author: Mohammed Nadeem <na...@gmail.com>
AuthorDate: Tue Sep 22 00:42:23 2020 +0530
NIFI-7816: Correct documentation example for urlEncode function in Expression Language Guide (#4536)
Signed-off-by: Andy LoPresto <al...@apache.org>
---
nifi-docs/src/main/asciidoc/expression-language-guide.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
index 7217f2a..b79629e 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -1380,7 +1380,7 @@ Each of the following functions will encode a string according the rules of the
*Examples*: We can URL-Encode an attribute named "url" by using the Expression `${url:urlEncode()}`. If
the value of the "url" attribute is "https://nifi.apache.org/some value with spaces", this
- Expression will then return "https://nifi.apache.org/some%20value%20with%20spaces".
+ Expression will then return "https%3A%2F%2Fnifi.apache.org%2Fsome+value+with+spaces".
@@ -1397,7 +1397,7 @@ Each of the following functions will encode a string according the rules of the
*Return Type*: [.returnType]#String#
*Examples*: If we have a URL-Encoded attribute named "url" with the value
- "https://nifi.apache.org/some%20value%20with%20spaces", then the Expression
+ "https://nifi.apache.org/some%20value%20with%20spaces" or "https%3A%2F%2Fnifi.apache.org%2Fsome+value+with+spaces", then the Expression
`${url:urlDecode()}` will return "https://nifi.apache.org/some value with spaces".