From: Brian Warner Date: Wed, 12 Mar 2008 02:01:18 +0000 (-0700) Subject: webish: put a trailing slash in the node.url file, since our unit tests use it, and... X-Git-Tag: allmydata-tahoe-0.9.0~14 X-Git-Url: https://git.rkrishnan.org/schema.xhtml?a=commitdiff_plain;h=0c40513e7520fcff6d729b9ac3dfc146a4ed6e77;p=tahoe-lafs%2Ftahoe-lafs.git webish: put a trailing slash in the node.url file, since our unit tests use it, and some versions of twisted or nevow don't automatically add one --- diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index cc26579c..d241de01 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -1580,9 +1580,9 @@ class WebishServer(service.MultiService): # what is our webport? s = self.listener if isinstance(s, internet.TCPServer): - base_url = "http://127.0.0.1:%d" % s._port.getHost().port + base_url = "http://127.0.0.1:%d/" % s._port.getHost().port elif isinstance(s, internet.SSLServer): - base_url = "https://127.0.0.1:%d" % s._port.getHost().port + base_url = "https://127.0.0.1:%d/" % s._port.getHost().port else: base_url = None if base_url: