Skip to content

Commit 3dce11d

Browse files
author
Shakeel Mohamed
committed
fix urlencoding
1 parent 230df77 commit 3dce11d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

splunklib/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ def delete(self, username, realm=None):
17581758
name = username
17591759
else:
17601760
# Encode each component separately
1761-
name = urllib.quote(realm) + ":" + urllib.quote(username)
1761+
name = UrlEncoded(realm) + ":" + UrlEncoded(username)
17621762

17631763
# Append the : expected at the end of the name
17641764
if name[-1] is not ":":

0 commit comments

Comments
 (0)