elasticsearch/docs/reference/sql/endpoints
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
..
client-apps [DOCS] Clean up links from SQL client app pages. (#52442) 2020-02-18 12:41:05 -08:00
odbc ODBC: Document the new VarcharLimit and EarlyExecution params (#54632) 2020-04-03 14:44:25 +02:00
cli.asciidoc SQL: specify command to run the CLI on a remote machine without Elasticsearch (#52626) 2020-02-21 13:26:31 +02:00
index.asciidoc Move ODBC documentation to elasticsearch repository (#36955) 2018-12-27 11:55:20 +02:00
jdbc.asciidoc SQL: fix handling of escaped chars in JDBC connection string (#58429) 2020-06-26 10:19:44 +02:00
odbc.asciidoc SQL: ODBC: document extra connection string parameters (#40476) 2019-03-27 14:11:59 +01:00
rest.asciidoc SQL: Fix DATETIME_PARSE behaviour regarding timezones (#56158) 2020-05-05 11:13:47 +02:00
translate.asciidoc [DOCS] Replace "// TESTRESPONSE" magic comments with "[source,console-result] (#46295) 2019-09-05 16:47:18 -04:00