Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8205330

Browse files
authored
Merge pull request #26 from gschnellOnera/Password_can_contain_slash
Fix: Password can contain a slash caractere '/'
2 parents 88ae57e + 21e63f0 commit 8205330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎dokuwiki.py‎

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /