Commit ba39d406 authored by Christophe Dumez's avatar Christophe Dumez

Fixed ssltrust and login (had been broken by a previous update)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6936 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 794f6105
...@@ -80,7 +80,7 @@ context.getPortalObject()["portal_subversion"].setLogin(svn_realm, svn_user, svn ...@@ -80,7 +80,7 @@ context.getPortalObject()["portal_subversion"].setLogin(svn_realm, svn_user, svn
if caller == \'update\':\n if caller == \'update\':\n
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/svn_update\')\n return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/svn_update\')\n
elif caller == \'commit\':\n elif caller == \'commit\':\n
return context.asContext(changelog=changelog,added=added,removed=removed,modified=modified).BusinessTemplate_doSvnCommit()\n return context.BusinessTemplate_doSvnCommit(changelog=changelog,added=added,removed=removed,modified=modified)\n
elif caller == \'ls\':\n elif caller == \'ls\':\n
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/BusinessTemplate_doSvnLs?file=\'+files.replace(\'%20\',\'%2520\').replace(\' \',\'%20\'))\n return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/BusinessTemplate_doSvnLs?file=\'+files.replace(\'%20\',\'%2520\').replace(\' \',\'%20\'))\n
elif caller == \'log\':\n elif caller == \'log\':\n
......
...@@ -82,7 +82,7 @@ context.getPortalObject()["portal_subversion"].acceptSSLServer(trust_dict, True) ...@@ -82,7 +82,7 @@ context.getPortalObject()["portal_subversion"].acceptSSLServer(trust_dict, True)
if caller == \'update\':\n if caller == \'update\':\n
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/svn_update\')\n return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/svn_update\')\n
elif caller == \'commit\':\n elif caller == \'commit\':\n
return context.asContext(changelog=changelog,added=added,removed=removed,modified=modified).BusinessTemplate_doSvnCommit()\n return context.BusinessTemplate_doSvnCommit(changelog=changelog,added=added,removed=removed,modified=modified)\n
elif caller == \'ls\':\n elif caller == \'ls\':\n
return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/BusinessTemplate_doSvnLs?file=\'+files.replace(\'%20\',\'%2520\').replace(\' \',\'%20\'))\n return context.REQUEST.RESPONSE.redirect(context.absolute_url() + \'/BusinessTemplate_doSvnLs?file=\'+files.replace(\'%20\',\'%2520\').replace(\' \',\'%20\'))\n
elif caller == \'log\':\n elif caller == \'log\':\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment