Skip to content

Commit

Permalink
infamy: restconf: Do not percent encode ':'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiaswal committed Dec 11, 2024
1 parent a2c3919 commit 397568f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/infamy/restconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def requests_workaround(method, url, json, headers, auth, verify=False, retry=0)
auth=auth)
prepared_request = session.prepare_request(request)
prepared_request.url = prepared_request.url.replace('%25', '%')
prepared_request.url = prepared_request.url.replace('%3A', ':')
response = session.send(prepared_request, verify=verify)
try:
# Raise exceptions for HTTP errors
Expand Down

0 comments on commit 397568f

Please sign in to comment.