OpenSearch/docs/reference/sql
Bogdan Pintea 3d96d91efb
[7.x] SQL: fix handling of escaped chars in JDBC connection string (#58429) (#58977)
SQL: fix handling of escaped chars in JDBC connection string (#58429)

This commit fixes an issue emerging when the connection string URI
contains escaped characters.

The original URI is pre-parsed in order to re-assemble a new URI having
the optional elements filled in with defaults. The new URI has been
using however the unescaped query and fragment parts. So if these
contained any escaped `&` or `=` (such as in the password option value),
the unescaping would reveal them and make them later interfere with the
options parsing.

The commit changes that, so that the new URI be built from the unescaped
"raw" parts of the original URI.

(cherry picked from commit 94eb5a05e79c6e203de548d05b13e00295bd4489)
2020-07-03 17:03:00 +02:00
..
appendix SQL: Implement TOP as an alternative to LIMIT (#57428) (#57507) 2020-06-02 10:53:42 +02:00
endpoints [7.x] SQL: fix handling of escaped chars in JDBC connection string (#58429) (#58977) 2020-07-03 17:03:00 +02:00
functions SQL: [Docs] Fix TIME_PARSE documentation (#58182) (#58317) 2020-06-18 16:09:13 +02:00
language [DOCS] Add data streams to API conventions (#58695) (#58785) 2020-06-30 17:33:35 -04:00
concepts.asciidoc [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
getting-started.asciidoc [DOCS] Replace "// CONSOLE" comments with [source,console] (#46159) (#46332) 2019-09-05 10:11:25 -04:00
index.asciidoc SQL: [Tests] Move JDBC integration tests to new module (#56872) (#57072) 2020-05-22 17:49:36 +02:00
limitations.asciidoc SQL: Implement scripting inside aggs (#55241) (#55371) 2020-04-17 12:41:22 +02:00
overview.asciidoc SQL: remove beta marker from documentation (#38661) 2019-02-10 00:09:58 +02:00
security.asciidoc SQL: [Tests] Move JDBC integration tests to new module (#56872) (#57072) 2020-05-22 17:49:36 +02:00