elasticsearch/docs/reference/sql
Bogdan Pintea 94eb5a05e7
SQL: fix handling of escaped chars in JDBC connection string (#58429)
* Fix: preserve URI query and fragment char escaping

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.
2020-06-26 10:19:44 +02:00
..
appendix SQL: Implement TOP as an alternative to LIMIT (#57428) 2020-06-02 09:56:20 +02:00
endpoints SQL: fix handling of escaped chars in JDBC connection string (#58429) 2020-06-26 10:19:44 +02:00
functions SQL: [Docs] Fix TIME_PARSE documentation (#58182) 2020-06-18 12:35:58 +02:00
language SQL: Implement TOP as an alternative to LIMIT (#57428) 2020-06-02 09:56:20 +02:00
concepts.asciidoc [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:54:45 -07:00
getting-started.asciidoc Remove types from BulkRequest (#46983) 2019-10-07 13:29:12 +01:00
index.asciidoc SQL: [Tests] Move JDBC integration tests to new module (#56872) 2020-05-22 15:52:41 +02:00
limitations.asciidoc SQL: Implement scripting inside aggs (#55241) 2020-04-17 11:22:06 +02:00
overview.asciidoc SQL: remove beta marker from documentation (#38661) 2019-02-10 00:09:03 +02:00
security.asciidoc SQL: [Tests] Move JDBC integration tests to new module (#56872) 2020-05-22 15:52:41 +02:00