web/views/basecontrollers.py
branchstable
changeset 8487 017af22e7678
parent 8485 8de41063d629
child 8556 bbe0d6985e59
child 8605 797fc2e2fb78
--- a/web/views/basecontrollers.py	Fri Jul 20 15:17:32 2012 +0200
+++ b/web/views/basecontrollers.py	Mon Jul 23 12:45:43 2012 +0200
@@ -90,7 +90,7 @@
 
     def publish(self, rset=None):
         """log in the instance"""
-        path = self._cw.form.get('postlogin_path', '.')
+        path = self._cw.form.get('postlogin_path', '')
         # redirect expect an url, not a path. Also path may contains a query
         # string, hence should not be given to _cw.build_url()
         raise Redirect(self._cw.base_url() + path)