=== modified file 'loggerhead/apps/branch.py' --- loggerhead/apps/branch.py 2009-02-18 10:36:48 +0000 +++ loggerhead/apps/branch.py 2009-03-02 13:34:36 +0000 @@ -2,6 +2,7 @@ import logging import urllib +import urlparse import sys import bzrlib.branch @@ -65,10 +66,13 @@ if v is not None: qs.append('%s=%s'%(k, urllib.quote(v))) qs = '&'.join(qs) - return request.construct_url( + absolute_url = request.construct_url( self._environ, script_name=self._url_base, path_info=unicode('/'.join(args)).encode('utf-8'), querystring=qs) + relative_url = urlparse.urlunparse(('', '') + urlparse.urlparse(absolute_url)[2:]) + return relative_url + #return urlding def context_url(self, *args, **kw): kw = util.get_context(**kw)