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
At some point, code to get a token based on the Users/loginmethod was changed to use urllib rather than string concatenation. urllib has a some deceptive behavior, however, based on whether the base url has a trailing slash or not.
So, if the caller does not add a trailing slash, urllib will produce a URL that fails to let the login work. This gets a little tricky, too, because the code silently fails tried msad auth, which on my system also fails.
We should maybe add code before using urllib to check for a trailing slash
The text was updated successfully, but these errors were encountered:
At some point, code to get a token based on the
Users/login
method was changed to useurllib
rather than string concatenation.urllib
has a some deceptive behavior, however, based on whether the base url has a trailing slash or not.pyscicat/pyscicat/client.py
Line 953 in 03e0628
Observe the following:
So, if the caller does not add a trailing slash, urllib will produce a URL that fails to let the login work. This gets a little tricky, too, because the code silently fails tried msad auth, which on my system also fails.
We should maybe add code before using urllib to check for a trailing slash
The text was updated successfully, but these errors were encountered: