Support encode form of baseurl for repo directive.
authorHuang Hao <hao.h.huang@intel.com>
Thu, 5 Dec 2013 05:25:51 +0000 (13:25 +0800)
committerGui Chen <gui.chen@intel.com>
Wed, 25 Dec 2013 02:55:22 +0000 (04:55 +0200)
commita205b424c907fb2f3474da8d0095c69e92301e3c
tree5a7dd05c938ca17fb93cc90b46be20c8c32c9be3
parent948190216a1aa1392f9f8ce5b866ab002c2fa976
Support encode form of baseurl for repo directive.

If user has special characters like '@' in his/her password, it
can be write as encode form embeded into url. By using zypp.Url
class which is already support encoded password, it by default
hide password part, so we also gain the feature that password
won't be printed to console.

Fix: 1499

Change-Id: I4243f36df491cb6eb80f04334962a2ed6030acbe
mic/imager/baseimager.py
mic/kickstart/__init__.py
mic/utils/grabber.py
mic/utils/misc.py
mic/utils/safeurl.py [new file with mode: 0644]
plugins/backend/yumpkgmgr.py
plugins/backend/zypppkgmgr.py