-
Notifications
You must be signed in to change notification settings - Fork 29
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
Simple proxy detection support #1404
base: master
Are you sure you want to change the base?
Simple proxy detection support #1404
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1404 +/- ##
==========================================
- Coverage 92.57% 91.87% -0.71%
==========================================
Files 47 47
Lines 4929 5021 +92
Branches 551 871 +320
==========================================
+ Hits 4563 4613 +50
- Misses 366 373 +7
- Partials 0 35 +35
Continue to review full report at Codecov.
|
test this |
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.
SSL proxy works. Unit tests for proxy would be welcome.
And btw cygwin mirror is down so build is red
browser/services/request.js
Outdated
if(this.electron) { | ||
this.electron.remote.getCurrentWindow().webContents.session.resolveProxy("https://google.com", function(p){ | ||
//parse PROXY XXX.XXX.XXX.XXX:XXXX; | ||
let proxy = p.replace(/(PROXY|DIRECT)/g,'').replace(/;/g,'').replace(/ /g,''); |
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.
Could you merge these replace calls?
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.
@jrichter1 sure
No description provided.