fixed issue 1021, thanks Edouard and Jonathan
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.0.9 (2012-09-20 09:27:02) stable
|
Version 2.0.9 (2012-09-20 11:16:45) stable
|
||||||
|
|||||||
@@ -192,6 +192,7 @@ def url_out(request, env, application, controller, function,
|
|||||||
port = ''
|
port = ''
|
||||||
else:
|
else:
|
||||||
port = ':%s' % port
|
port = ':%s' % port
|
||||||
|
host = host.split(':')[0]
|
||||||
url = '%s://%s%s%s' % (scheme, host, port, url)
|
url = '%s://%s%s%s' % (scheme, host, port, url)
|
||||||
return url
|
return url
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user