Browsermob proxy sends Proxy-Authorization header after authorization on chained proxy - how to stop it?

我只是一个虾纸丫 提交于 2019-12-13 03:23:47

问题


I start my BMP with options like this:

'httpProxy'       => 'proxy.com',
'proxyUsername'   => 'user',
'proxyPassword'   => 'password',
'trustAllServers' => true,

and this works fine. After that I recieve proxy port from BMP and use it in my browser (system settings, no matter). After that I try navigate to http. Ok, my headers is fine. But after that I try navigate to https and my headers is not fine, because I see PROXY_AUTHORIZATION string with my real proxy username and password in base64 encoding.

Question: what could be the problem and how to fix it? At the moment, the BMP sends Proxy-Authorization header even when it is already authorized. And this happens only when we use https.

来源:https://stackoverflow.com/questions/54871517/browsermob-proxy-sends-proxy-authorization-header-after-authorization-on-chained

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!