Fix smb credentials password not being url-encoded

This commit is contained in:
tomkat83 2016-10-29 16:47:48 +02:00
parent 46b5cc2209
commit e21c04e580

View file

@ -677,7 +677,9 @@ def passwordsXML():
'', # Default input '', # Default input
xbmcgui.INPUT_ALPHANUM, xbmcgui.INPUT_ALPHANUM,
xbmcgui.ALPHANUM_HIDE_INPUT) xbmcgui.ALPHANUM_HIDE_INPUT)
# Need to url-encode the password
from urllib import quote_plus
password = quote_plus(password)
# Add elements. Annoying etree bug where findall hangs forever # Add elements. Annoying etree bug where findall hangs forever
if skipFind is False: if skipFind is False:
skipFind = True skipFind = True