From 0c40513e7520fcff6d729b9ac3dfc146a4ed6e77 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 11 Mar 2008 19:01:18 -0700 Subject: [PATCH] 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 --- src/allmydata/webish.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.45.2