Skip to content

Commit

Permalink
remove / from safe chars (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
iannesbitt committed Jun 5, 2023
1 parent 15e64de commit 0bcb07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mnonboard/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def validate_subj_in_acct_svc(ssh: SSHClient, cert: str, names: dict, cn: str):
"""
"""
for n in names:
orcid_urlenc = urlparse.quote(n)
orcid_urlenc = urlparse.quote(n, safe='-')
command = 'sudo curl -s --cert %s -X PUT %s/v2/accounts/verification/%s' % (
cert, cn, orcid_urlenc
)
Expand Down

0 comments on commit 0bcb07d

Please sign in to comment.