Bug 150202

Summary: proxy environment variables incomplete
Product: [openSUSE] SUSE Linux 10.1 Reporter: Jon Nelson <jnelson-suse>
Component: NetworkAssignee: Ruediger Oertel <ro>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jon Nelson 2006-02-12 04:16:58 UTC
The file /etc/profile.d/profile.sh sets /some/ of the proxy environment variables, but sets them in lower-case for the key names. Unfortunately, many programs expect them in upper case. So, could the following change to the profile.sh script be made (apply same logical change for gopher, https, etc...):

Instead of:

        HTTP_PROXY=*)
            http_proxy="${val}"
            export http_proxy

use:
        HTTP_PROXY=*)
            http_proxy="${val}"
            export http_proxy
            HTTP_PROXY="${val}"
            export HTTP_PROXY

and then later:

f test "$PROXY_ENABLED" != "yes" ; then
    unset http_proxy https_proxy ftp_proxy gopher_proxy no_proxy
    unset HTTP_PROXY HTTPS_PROXY FTP_PROXY GOPHER_PROXY NO_PROXY
unset PROXY_ENABLED
Comment 1 Andreas Jaeger 2006-02-12 10:41:55 UTC
Which applications need this change?
Comment 2 Michael Gross 2006-02-13 09:47:06 UTC
It's part of aaa_base
Comment 3 Ruediger Oertel 2006-02-13 11:42:44 UTC
the lower case variant seems to be standard these days, all apps
I know of have been fixed.