GNOME Bugzilla – Bug 795256
dconf proxy credentials not used
Last modified: 2018-09-21 16:34:52 UTC
This is a request: Currently every application that is in use behind a proxy server with authentication has to implement the callback to authenticate. It would be nice if the already configured credentials within dconf /system/proxy/http would be taken into account. This would enable all libsoup based applications behind a corporate proxy without chaning any app. Is this feasible?
Created attachment 372130 [details] [review] Proxy credential support Attaching patch which adds system proxy credential usage if and only if it is a proxy auth request. Please review.
Review of attachment 372130 [details] [review]: ::: libsoup/soup-auth-manager.c @@ +536,3 @@ + /* Try to use system proxy credentials in case this is the first attempt to access the proxy */ + if (soup_auth_is_for_proxy (auth) && !prior_auth_failed) { + GSettings *settings = g_settings_new ("org.gnome.system.proxy.http"); It will crash if gsettings-desktop-schemas is not installed. Not sure if libsoup already requires that or not.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libsoup/issues/117.