Skip to content
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

(GH-1141) Fix constant proxy NREs for some environments #1142

Closed
wants to merge 2 commits into from
Closed

(GH-1141) Fix constant proxy NREs for some environments #1142

wants to merge 2 commits into from

Conversation

brianary
Copy link
Contributor

@brianary brianary commented Jan 19, 2017

In some environments, (new-object System.Net.WebClient).Proxy -eq $null
is true, as is [System.Net.WebRequest]::DefaultWebProxy -eq $null. This
means the IsBypassed() method was being called on a null object. This
checks the object's existence before using that method.

Fixes #1141

In some environments, (new-object System.Net.WebClient).Proxy -eq $null
is true, as is [System.Net.WebRequest]::DefaultWebProxy -eq $null. This
means the IsBypassed() method was being called on a null object. This
checks the object's existence before using that method.
Fix a copy-paste issue since one of the three files being updated uses a
different variable name.
@ferventcoder
Copy link
Member

Awesome. Can you do me a favor and look at the CLA? This does not quite fall into what we would consider a trivial contribution. Much appreciated. Thanks!

Copy link
Member

@ferventcoder ferventcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, just need a CLA signature and we can move forward.

@brianary
Copy link
Contributor Author

OK, I got it signed.

@ferventcoder
Copy link
Member

Merged into stable at cf26b8b

@ferventcoder
Copy link
Member

@brianary Thanks for your contribution! This will be released in 0.10.4.

@ferventcoder ferventcoder self-assigned this Feb 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants