Release 0.5.1
This commit is contained in:
parent
2663441db9
commit
617d79e91f
2 changed files with 2 additions and 2 deletions
|
@ -112,5 +112,5 @@ class DjangoHTTPContext(DjangoContext):
|
||||||
def get_url(self, path):
|
def get_url(self, path):
|
||||||
if re.match('^https?:\/\/', path):
|
if re.match('^https?:\/\/', path):
|
||||||
return path
|
return path
|
||||||
return 'http://%s:%d%s' % (self.host, self.port, path)
|
return 'http://%s:%d/%s' % (self.host, self.port, path.lstrip('/'))
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
# http://www.opensource.org/licenses/mit-license
|
# http://www.opensource.org/licenses/mit-license
|
||||||
# Copyright (c) 2011 Rafael Caricio rafael@caricio.com
|
# Copyright (c) 2011 Rafael Caricio rafael@caricio.com
|
||||||
|
|
||||||
__version__ = (0, 5, 0)
|
__version__ = (0, 5, 1)
|
||||||
|
|
Reference in a new issue