Commit 2f9c1d13 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_xhtml_style: use Base_redirect on logged_out page.

Otherwise, the portal_status_message is not correctly escaped, which can cause bugs with older web browsers. It happens when the translation of this messages in the user's language uses special characters
parent 017af198
<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal">
<tal:block tal:define="dummy python:request.RESPONSE.redirect('%s?portal_status_message=%s' % (here.absolute_url(), here.Base_translateString('You have been logged out.')))" />
<tal:block tal:define="dummy python: context.Base_redirect(here.absolute_url(), {'portal_status_message':here.Base_translateString('You have been logged out.')})" />
</tal:block>
\ No newline at end of file
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