elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.16k forks source link

dev console - duplicate query params are not sent - and they should be! #177974

Open mattkime opened 7 months ago

mattkime commented 7 months ago

steps to reproduce -

1) Open the browser dev console, load discover 2) copy the request to _fields_for_wildcard 3) Paste it into the kibana dev tools console. Remove the domain and port number and replace with kbn:. 4) Run the request 5) independent of the success or failure of the request, you should see that the number of meta_fields params is different in the browser console. There will be a number of them on the original request (and in the url pasted into the kibana dev console), but only one in the request generated by the kibana console.

_fields_for_wildcard uses multiple query params with the same name to send an array of values.

elasticmachine commented 7 months ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

alisonelizabeth commented 6 months ago

Hi @mattkime - thanks for reporting this. We will try to take a look.

Note that I think this is specific to Kibana requests via Console, and not ES requests.

elasticmachine commented 1 week ago

Pinging @elastic/kibana-management (Team:Kibana Management)