mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 07:06:13 +01:00
disable '%' expansion on username and password
This commit is contained in:
parent
7c27fac55e
commit
9f739f5e87
@ -425,8 +425,8 @@ def get_config(override_conffile = None,
|
||||
if user is None:
|
||||
#FIXME: this could actually be the ideal spot to take defaults
|
||||
#from the general section.
|
||||
user = cp.get(url, 'user')
|
||||
password = cp.get(url, 'pass')
|
||||
user = cp.get(url, 'user', raw=True) # need to set raw to prevent '%' expansion
|
||||
password = cp.get(url, 'pass', raw=True) # especially on password!
|
||||
if cp.has_option(url, 'keyring') and cp.get(url, 'keyring'):
|
||||
# This APIURL was configured to use keyring by
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user