[Mono-bugs] [Bug 426165] New: WebRequest doesn't respect gnome proxy settings properly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 14 13:56:35 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=426165


           Summary: WebRequest doesn't respect gnome proxy settings properly
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: az at azib.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


None of Mono Gnome applications (e.g. F-Spot, Banshee) work properly in
corporate environment where proxy usage is mandatory.

WebRequest.DefaultWebProxy tries to use the $http_proxy environment variable,
but this is set only if Mono application is run from gnome-terminal and doesn't
even support setting of credentials (e.g.
http_proxy=http://user:password@proxy.domain.com/).

The best way would be to read proxy settings from GConf, because these are
system-wide settings for gnome. Even firefox 3 now respects these settings.

If mono doesn't want to have dependencies on gnome, one option would be to set
WebRequest.DefaultWebProxy in the GConf# library on intialization, so it would
work at least for all Gnome Mono applications which use GConf. 

Respecting of credentials in $http_proxy should be implemented directly in Mono
as well.

Fixing of this bug will make many Gnome Mono applications usable in corporate
environments.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list