Skip to content

Commit 21e63f0

Browse files
Fix: Password can contain a slash caractere '/'
1 parent 88ae57e commit 21e63f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dokuwiki.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def __init__(self, url, user, password, **kwargs):
154154
raise DokuWikiError("invalid url '%s'" % url)
155155

156156
# Set auth string or transport for cookie based authentication.
157-
auth = '{:s}:{:s}@'.format(user, quote(password))
157+
auth = '{:s}:{:s}@'.format(user, quote(password, safe = ''))
158158
cookie_auth = kwargs.pop('cookieAuth', False)
159159
if cookie_auth:
160160
auth = ''

0 commit comments

Comments
 (0)