You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 28, 2024. It is now read-only.
I think the base64 encoding is incorrectly handled here, also encodestring is deprecated.
this should be something like below
val = base64.encodestring(urllib.parse.unquote_plus(addr.user).encode())
the encode string errors out saying: TypeError: expected bytes-like object, not str
Location: https://github.com/Synerty/SOAPpy-py3/blob/master/src/SOAPpy/Client.py#L317
if addr.user != None:
val = base64.encodestring(urllib.parse.unquote_plus(addr.user))
r.putheader('Authorization','Basic ' + val.replace('\012',''))
The text was updated successfully, but these errors were encountered: