Skip to content

Version 106.2.0 switches the application proxy to Internet Explorer proxy settings #1066

Closed
@CosminLazar

Description

@CosminLazar

This was a bug in version 106.2.0 that got fixed in version 106.2.1 but I am posting here to help others stuck with older versions and also to have some sort of history on the issue.

If you were using the RestSharp client without specifying a proxy you would automatically receive the IE proxy settings and your whole application would get configured to use the IE proxy settings for the rest of it`s lifetime.

This was highly undesirable for us because we were specifying the application proxy settings in the web.config (system.net/defaultProxy) and expecting it to be picked up automatically (same as HttpClient and all .net libraries), however, when code using RestSharp was executed, the application-wide proxy (WebRequest.DefaultWebProxy) was being changed to the IE proxy settings, highly undesirable in our case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions