Skip to content

Commit 209eaa1

Browse files
authored
Update Authentication.py
Updating yo a relative URL to comply with RFC-3986
1 parent 38f0ebc commit 209eaa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blackduck/Authentication.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def authenticate(self):
5656
logger.warning("ssl verification disabled, connection insecure. do NOT use verify=False in production!")
5757

5858
response = self.session.post(
59-
url="/api/tokens/authenticate",
59+
url="api/tokens/authenticate",
6060
auth=NoAuth(), # temporarily strip authentication to avoid infinite recursion
6161
headers={"Authorization": f"token {self.access_token}"}
6262
)

0 commit comments

Comments
 (0)