Hi, all.

I am again about 'using rubygems behind authenticated proxy' problem.

Some time ago this problem was fixed in SVN and I (and other people) start
using rubygems in corporate environment.

But with 0.9.1 release I've got several responses that it does not work
anymore. People start receiving PROXY AUTHENTICATION ERROR again.

I dig into this problem and found that it happens because new version of
rubygems do not contain open-uri library. And current version uses open-uri
from standard package.

But unfortunately open-uri in 1.8.4 has lack of authenticated proxy support.
It does not takes into account username and password passed in url
parameter. This bug was fixed in 1.9.x ruby branch and we have ability to
use proxy_http_basic_authentication parameter.

So my patch that fixes this problem includes required changes to Rubygems
code + open-uri library from 1.9 branch. I've just check it for corporate
firewall and it works well.

--
anatol (http://feeds.feedburner.com/apomozov-eng)

Attachment: fix_auth_proxy_problem.patch
Description: Binary data

_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to