Commit 7561efb7 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

astakosclient: Prevent relative uri's requests

do not lstrip slashes from the path of astakos url to avoid making requests
with relative uris.
parent fdc56d75
......@@ -102,7 +102,7 @@ class AstakosClient():
self.logger = logger
self.netloc = p.netloc
self.scheme = p.scheme
self.path = p.path.lstrip('/')
self.path = p.path.rstrip('/')
self.conn_class = conn_class
# ----------------------------------
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment