--- a/src/ztfy/myams/login.py Tue Oct 14 14:47:00 2014 +0200
+++ b/src/ztfy/myams/login.py Wed Oct 29 09:37:15 2014 +0100
@@ -189,6 +189,5 @@
hooks.setSite(old_site)
context = getParent(context, ISite, allow_context=False)
target = queryMultiAdapter((self.context, self.request, Interface), IDefaultView)
- self.request.response.redirect('%s/%s' % (absoluteURL(self.context, self.request),
- target.viewname if target is not None else '@@index.html'))
+ self.request.response.redirect(target.viewname if target is not None else '@@index.html')
return u''