Project

General

Profile

Actions

Bug #18908

closed

Allow username and password to be extracted from the http_proxy variable on Windows

Added by ggrossetie (Guillaume GROSSETIE) almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:109190]

Description

According to #12921 only Linux, FreeBSD and Darwin (macOS) provides environment variables that are "multi-user" safe.

I'm not a Windows expert but as far as I know it's possible to configure user environment variables on Windows that are only accessible to the currently logged-in user: https://stackoverflow.com/a/4477669

Maybe this restriction should be lifted?

https://github.com/ruby/ruby/blob/8b98b9e274ea0a749044e044ee03ee1095aa75d0/lib/net/http.rb#L1225

Actions

Also available in: Atom PDF

Like0
Like0Like0