-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
Kibana version: 7.5+ (haven't checked on earlier versions)
Browser version: any browser
Describe the bug: when opening Kibana with a very long query string parameters Kibana returns 400 and logs server error [11:40:44.623] [error][client][connection] Error: Parse Error in the terminal. It's a problem for the SAML authentication when we try to grab Kibana URL fragment and pass it to the server within a query string parameter.
Steps to reproduce:
- Open this link (e.g.
'http://localhost:5601/app/kibana?query=' + 'kibana'.repeat(1500)) on your local Kibana instance - Observe a white screen in browser
- Observe error in the terminal
Expected behavior: Either such long URL should be properly processed and forwarded to the handler if any or error should be clear
Errors in browser console (if relevant): no errors visible, only 400 in the browser network tab
Provide logs and/or server output (if relevant): server error [11:40:44.623] [error][client][connection] Error: Parse Error
Any additional context: localhost_Archive [19-12-18 11-45-35].zip
/cc @elastic/kibana-security @restrry