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
Describe the bug
The urllib.parse.urljoin, e.g. when using orion base url and the version endpoint in the get_version() function, works a little different than originally expected.
urljoin(url1, url2)
E.g. if orion is running behind "example.org/orion" and I run the get_version, the function will end up querying "example.org/version".
This is because urljoin does not simply concatenate the URLs but cuts the first url depending on how many "/" are part of second url.
To Reproduce
see above, give the orion client a url with a path /orion
Expected behavior
Get version; instead getting nothing cause url is wrong.
The text was updated successfully, but these errors were encountered:
Describe the bug
The urllib.parse.urljoin, e.g. when using orion base url and the version endpoint in the get_version() function, works a little different than originally expected.
urljoin(url1, url2)
E.g. if orion is running behind "example.org/orion" and I run the get_version, the function will end up querying "example.org/version".
This is because urljoin does not simply concatenate the URLs but cuts the first url depending on how many "/" are part of second url.
To Reproduce
see above, give the orion client a url with a path /orion
Expected behavior
Get version; instead getting nothing cause url is wrong.
The text was updated successfully, but these errors were encountered: