-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[chrome/urlOverflowCheck] use modifyUrl
helper
#22435
Conversation
💚 Build Succeeded |
Will review and test on my Windows VM today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I think I was able to reproduce original issue locally on master and confirmed that it's not reproducible with this PR.
Steps to reproduce I followed (with local code change):
- ngnix config:
server {
listen 8080;
server_name kibana;
location ~ ^/kibana/(.*)$ {
rewrite /kibana/(.*) /$1 break;
proxy_pass http://localhost:5601;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}
-
Change this value to something smaller so that you can reproduce the issue with a bunch of visualizations in any browser, e.g.
2500
-
Run Kibana with
node scripts/kibana --oss --server.basePath=/kibana --server.rewriteBasePath=false
Fixes elastic#18835 This updates the url-overflow redirect to use the `modifyUrl()` helper which was written almost exclusively to help deal with the confusion that node's `path` and `pathname` nonsense creates. I tested this in Edge and things seem to work well, but I'd appreciate if @baracudda or @chandanpal could checkout this PR and see if it works for them.
Fixes #18835 This updates the url-overflow redirect to use the `modifyUrl()` helper which was written almost exclusively to help deal with the confusion that node's `path` and `pathname` nonsense creates. I tested this in Edge and things seem to work well, but I'd appreciate if @baracudda or @chandanpal could checkout this PR and see if it works for them.
6.x/6.5: ae8cbe3 |
@spalger thanks for the fix. i will test it and let you know. is this fix will come under 6.5 release? |
Fixes #18835
This updates the url-overflow redirect to use the
modifyUrl()
helper which was written almost exclusively to help deal with the confusion that node'spath
andpathname
nonsense creates. I tested this in Edge and things seem to work well, but I'd appreciate if @baracudda or @chandanpal could checkout this PR and see if it works for them.