Bug 35864 - Proxy entry format unclear and then crash
Summary: Proxy entry format unclear and then crash
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: up2date   
(Show other bugs)
Version: 7.0
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Preston Brown
QA Contact: Jay Turner
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-13 08:38 UTC by Need Real Name
Modified: 2015-01-07 23:45 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Need Real Name 2001-04-13 08:38:25 UTC
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 13:54:30 UTC
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 14:34:05 UTC
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.