Fix smb credentials password not being url-encoded
This commit is contained in:
parent
46b5cc2209
commit
e21c04e580
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue