Open jughosta opened 1 month ago
Currently, & gets escaped and transformed into &s; even when {{rawValue}} variable is used. This breaks the resulting urls. We should keep escape but exclude & if possible.
&
&s;
{{rawValue}}
escape
https://github.com/elastic/kibana/blob/f388d991caac20222a73dc62811df0d4d2b602a8/src/plugins/field_formats/common/converters/url.ts#L142-L143
Example doc:
POST test-index/_doc { "url": "https://example.com/?test=1&test2&test3" }
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)
Currently,
&
gets escaped and transformed into&s;
even when{{rawValue}}
variable is used. This breaks the resulting urls. We should keepescape
but exclude&
if possible.https://github.com/elastic/kibana/blob/f388d991caac20222a73dc62811df0d4d2b602a8/src/plugins/field_formats/common/converters/url.ts#L142-L143
Example doc: