Bug 21816

Summary: bug with https URL
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mal>
Component: pythonlibAssignee: Matt Wilson <msw>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: mharris
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-10-09 21:36:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2000-12-06 18:35:56 UTC
There is a bug with https:// url.
The puthon access http:// instad of https:// what is incorrect.
The openssl-python is installed.
Test case:
----------- python program
import urllib
urllib.urlretrieve('https://127.0.0.1/file.html','/tmp/saved.html')
------------

run the program above and look in /var/log/httpd
The performed reques was http (port 80), not https (port 443).
Also if openssl is not installed the request should fail,
not silently use different protocol.

Comment 1 Matt Wilson 2003-10-09 21:36:10 UTC
this works in newer releases.