Commit 472829d5 authored by Aurel's avatar Aurel

name of folder return by 'Save' must be url encode


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4472 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0b2a009c
......@@ -130,7 +130,7 @@ class TemplateTool (BaseTool):
business_template.export(path=path, local=1)
if REQUEST is not None:
ret_url = business_template.absolute_url() + '/' + REQUEST.get('form_id', 'view')
qs = '?portal_status_message=Saved+in+%s+.' % path
qs = '?portal_status_message=Saved+in+%s+.' % pathname2url(path)
if RESPONSE is None: RESPONSE = REQUEST.RESPONSE
return REQUEST.RESPONSE.redirect( ret_url + qs )
......
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