From ff43e71580647890a67494681021ae6391becd0f Mon Sep 17 00:00:00 2001 From: Shambhu Bhatt Date: Mon, 3 Aug 2020 16:30:03 -0700 Subject: [PATCH 1/4] [ION-8334] DLB URL Encoding --- .gitignore | 3 ++- modules/ROOT/pages/lb-architecture.adoc | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 567c5d579..c8448d224 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .DS_Store -*.DS_Store \ No newline at end of file +*.DS_Store +.idea/ diff --git a/modules/ROOT/pages/lb-architecture.adoc b/modules/ROOT/pages/lb-architecture.adoc index 6c7d1b52b..7ea2e0961 100644 --- a/modules/ROOT/pages/lb-architecture.adoc +++ b/modules/ROOT/pages/lb-architecture.adoc @@ -68,10 +68,12 @@ The internal HTTP mode lets you configure how HTTP requests are managed. They ar == DLB URL Encoding -You can configure the DLB to pass request URIs unchanged or decoded: +When DLB receives a request, it first decodes the URI based on standard internet guideline "RFC-3986" to evaluate the URL mapping rules. During this process, it decodes some set of characters, such as alphabetical (%41–%5A and %61–%7A), digital (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), tilde (%7E), slash (%2F), space (%20), octothorpe (%23) etc. + +* If you select *Keep URL encoding*, DLB re-encodes these decoded URI and pass the request to the Cloudhub worker. + +* If you deselect *Keep URL encoding*, the DLB passes the decoded URI as is to the Cloudhub worker. -* If you select *Keep URL encoding*, the DLB passes only the %20 and %23 characters as is. -* If you deselect *Keep URL encoding*, the DLB decodes the encoded part of the request URI before passing it to the CloudHub worker. == See Also From dbef8fe86053fb9eb0463450284cdf2c69eec364 Mon Sep 17 00:00:00 2001 From: shambhuprasad <44415980+shambhuprasad@users.noreply.github.com> Date: Mon, 3 Aug 2020 16:45:00 -0700 Subject: [PATCH 2/4] Update modules/ROOT/pages/lb-architecture.adoc Co-authored-by: Hanna Nelson --- modules/ROOT/pages/lb-architecture.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/lb-architecture.adoc b/modules/ROOT/pages/lb-architecture.adoc index 7ea2e0961..0adbf05c4 100644 --- a/modules/ROOT/pages/lb-architecture.adoc +++ b/modules/ROOT/pages/lb-architecture.adoc @@ -68,7 +68,7 @@ The internal HTTP mode lets you configure how HTTP requests are managed. They ar == DLB URL Encoding -When DLB receives a request, it first decodes the URI based on standard internet guideline "RFC-3986" to evaluate the URL mapping rules. During this process, it decodes some set of characters, such as alphabetical (%41–%5A and %61–%7A), digital (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), tilde (%7E), slash (%2F), space (%20), octothorpe (%23) etc. +When DLB receives a request, it first decodes the URI based on standard internet guideline "RFC-3986" to evaluate the URL mapping rules. During this process, it decodes some characters, such as alphabetical (%41–%5A and %61–%7A), digital (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), tilde (%7E), slash (%2F), space (%20), and octothorpe (%23). * If you select *Keep URL encoding*, DLB re-encodes these decoded URI and pass the request to the Cloudhub worker. From d7179f57ceae033175b5501c38133f6a7276f76e Mon Sep 17 00:00:00 2001 From: shambhuprasad <44415980+shambhuprasad@users.noreply.github.com> Date: Mon, 3 Aug 2020 16:45:11 -0700 Subject: [PATCH 3/4] Update modules/ROOT/pages/lb-architecture.adoc Co-authored-by: Hanna Nelson --- modules/ROOT/pages/lb-architecture.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/lb-architecture.adoc b/modules/ROOT/pages/lb-architecture.adoc index 0adbf05c4..1962b6b11 100644 --- a/modules/ROOT/pages/lb-architecture.adoc +++ b/modules/ROOT/pages/lb-architecture.adoc @@ -70,7 +70,7 @@ The internal HTTP mode lets you configure how HTTP requests are managed. They ar When DLB receives a request, it first decodes the URI based on standard internet guideline "RFC-3986" to evaluate the URL mapping rules. During this process, it decodes some characters, such as alphabetical (%41–%5A and %61–%7A), digital (%30–%39), hyphen (%2D), period (%2E), underscore (%5F), tilde (%7E), slash (%2F), space (%20), and octothorpe (%23). -* If you select *Keep URL encoding*, DLB re-encodes these decoded URI and pass the request to the Cloudhub worker. +* If you select *Keep URL encoding*, DLB re-encodes the decoded URI and passes the request to the CloudHub worker. * If you deselect *Keep URL encoding*, the DLB passes the decoded URI as is to the Cloudhub worker. From 6dedc2e9629aeea30a933559df5bf5c3ebc2facd Mon Sep 17 00:00:00 2001 From: shambhuprasad <44415980+shambhuprasad@users.noreply.github.com> Date: Mon, 3 Aug 2020 16:45:21 -0700 Subject: [PATCH 4/4] Update modules/ROOT/pages/lb-architecture.adoc Co-authored-by: Hanna Nelson --- modules/ROOT/pages/lb-architecture.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/lb-architecture.adoc b/modules/ROOT/pages/lb-architecture.adoc index 1962b6b11..c67f5b93c 100644 --- a/modules/ROOT/pages/lb-architecture.adoc +++ b/modules/ROOT/pages/lb-architecture.adoc @@ -72,7 +72,7 @@ When DLB receives a request, it first decodes the URI based on standard internet * If you select *Keep URL encoding*, DLB re-encodes the decoded URI and passes the request to the CloudHub worker. -* If you deselect *Keep URL encoding*, the DLB passes the decoded URI as is to the Cloudhub worker. +* If you deselect *Keep URL encoding*, the DLB passes the decoded URI as is to the CloudHub worker. == See Also