summaryrefslogtreecommitdiff
path: root/src/leap/services
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-07-24 13:28:18 -0300
committerTomás Touceda <chiiph@leap.se>2013-07-24 13:57:25 -0300
commit11b3b47ba3ab5ed25b77aab3ce5759c55c9c9627 (patch)
treee545133bebc908b93bad69ef59e2ae84dc40ea8b /src/leap/services
parentd56790c4cddab8768e14a83a3c9fcb15bda1dee5 (diff)
Escape the domain value to avoid problematic paths
Diffstat (limited to 'src/leap/services')
-rw-r--r--src/leap/services/eip/providerbootstrapper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/services/eip/providerbootstrapper.py b/src/leap/services/eip/providerbootstrapper.py
index 274fd3bd..15609620 100644
--- a/src/leap/services/eip/providerbootstrapper.py
+++ b/src/leap/services/eip/providerbootstrapper.py
@@ -179,7 +179,7 @@ class ProviderBootstrapper(AbstractBootstrapper):
"""
leap_assert(domain and len(domain) > 0, "We need a domain!")
- self._domain = domain
+ self._domain = ProviderConfig.sanitize_path_component(domain)
self._download_if_needed = download_if_needed
cb_chain = [