diff --git a/product/ERP5/Tool/TemplateTool.py b/product/ERP5/Tool/TemplateTool.py
index 88329190f7fbfa07e7b8c6ee9e01067d479df22e..09765530eed07746f48bb01a82a425a2cf21ffb8 100755
--- a/product/ERP5/Tool/TemplateTool.py
+++ b/product/ERP5/Tool/TemplateTool.py
@@ -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 )