Bug 150202 - proxy environment variables incomplete
Summary: proxy environment variables incomplete
Status: RESOLVED WORKSFORME
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 3
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Ruediger Oertel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-12 04:16 UTC by Jon Nelson
Modified: 2006-02-13 11:42 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.