fixed issue 1021, thanks Edouard and Jonathan

This commit is contained in:
mdipierro
2012-09-20 11:16:51 -05:00
parent ca29f262e5
commit 8d238890a2
2 changed files with 2 additions and 1 deletions

View File

@@ -1 +1 @@
Version 2.0.9 (2012-09-20 09:27:02) stable
Version 2.0.9 (2012-09-20 11:16:45) stable

View File

@@ -192,6 +192,7 @@ def url_out(request, env, application, controller, function,
port = ''
else:
port = ':%s' % port
host = host.split(':')[0]
url = '%s://%s%s%s' % (scheme, host, port, url)
return url