Bug 35864 - Proxy entry format unclear and then crash
Proxy entry format unclear and then crash
Status: CLOSED ERRATA
Product: Red Hat Linux
Classification: Retired
Component: up2date (Show other bugs)
7.0
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Preston Brown
Jay Turner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-04-13 04:38 EDT by Need Real Name
Modified: 2015-01-07 18:45 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-04-13 10:34:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2001-04-13 04:38:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-PF20010316 i686)


Finally up2date works with proxies !!!
But to enter it, please give a hint about the format. There are many ways
around on the Internet
to indicate it ("http://proxy.domain.org:1080" or "proxy.domain.org:1080"
or or "proxy.domain.org 1080" or two fields or only 1 and not port
definable, etc.)

Furthermore, if you enter  "http://proxy.domain.org:1080" up2date will
crash saying the port number is non-numeric (of course the 1st colon is
aftert http and the remaining is not very numeric)



Reproducible: Always
Steps to Reproduce:
1. Enter a proxy with the http:// prefix
2.
3.
	

Actual Results:  crash.

Expected Results:  Nothing, storing the proxy info with the correct port
number.

Fixes:
- add a label in the GUI-form of up2date-config to hint the user  what
format to use
- fill the proxy enter field with the prefix "http://" so the user can
complete it
- tolerate the http:// prefix in the search of the port number in the
python code.

Even better, all of the above :-)
Comment 1 Jay Turner 2001-04-13 09:54:30 EDT
We have added a hint label to the version of up2date currently in testing.  Will
enter a feature request to ignore "http:" if it is there.
Comment 2 Preston Brown 2001-04-13 10:34:05 EDT
the latest internal versions of our up2date, and the one to be released today 
as errata, contain a hint as to the format of the proxy. (hostname:port).

Note You need to log in before you can comment on or make changes to this bug.