From: "jeremyevans0 (Jeremy Evans)" Date: 2022-08-24T19:04:27+00:00 Subject: [ruby-core:109666] [Ruby master Bug#18908] Allow username and password to be extracted from the http_proxy variable on Windows Issue #18908 has been updated by jeremyevans0 (Jeremy Evans). I agree that we should remove the restriction. I submitted a pull request for that: https://github.com/ruby/net-http/pull/66 ---------------------------------------- Bug #18908: Allow username and password to be extracted from the http_proxy variable on Windows https://bugs.ruby-lang.org/issues/18908#change-98888 * Author: ggrossetie (Guillaume GROSSETIE) * Status: Open * Priority: Normal * ruby -v: master * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- 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 -- https://bugs.ruby-lang.org/ Unsubscribe: