Updated openstack/openstack
Project: openstack/glance_store c0585d9d53ffcd1a95b6d52e54134003ecb032c0 Catch InvalidURL when requesting store size If location URL looks like scp address: http://some_address:~/some_image then glance accepts this address and creates a malformed image. The problem here is because python http_client lib is trying to recognize '~' as port but it is not acceptable port name. The lib generates an InvalidURL exception but this exception is hidden in one of universal catchers(except Exception). We need to validate port name (is present before passing it to http_client lib. Change-Id: I36dddf7059711fb15ecb1fec4e438daf2bffcb60 Closes-bug: #1485792
This commit is contained in:
committed by
Gerrit Code Review
parent
7c26e3c580
commit
447bd952c9