We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi ! Trying to use the uri method, it seems to have some odd behavior when the url ends with a backslash. The method (link to code):
uri
def uri(self, uri): if self._url is None: return self if self._url.endswith('/') and uri.startswith('/'): self._url += uri[:1] elif self._url.endswith('/') and not uri.startswith('/'): self._url += "/" + uri else: self._url += uri return self
self._url = "http://example.com/"
uri = "/example/path"
"http://example.com//"
uri = "example/path"
"http://example.com//example/path"
Is this intended for a particular reason / case ?
The text was updated successfully, but these errors were encountered:
Seems to be a bug.
Sorry, something went wrong.
Fix for issue #12
3ee29b2
#12
This should be resolved in #17
Merged #17 , this will be released the next time the python client library is released (the next major FusionAuth release).
No branches or pull requests
Hi ! Trying to use the
uri
method, it seems to have some odd behavior when the url ends with a backslash. The method (link to code):self._url = "http://example.com/"
&uri = "/example/path"
, the method returns"http://example.com//"
self._url = "http://example.com/"
&uri = "example/path"
, the method returns"http://example.com//example/path"
Is this intended for a particular reason / case ?
The text was updated successfully, but these errors were encountered: