changeset 4513:4832d31195bb

merged moin/1.7
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 27 Jan 2009 21:18:50 +0100
parents 4dbc77e7164b (current diff) 89b91bf87dad (diff)
children af09c1b3a153
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/security/antispam.py	Sat Jan 24 21:59:04 2009 +0100
+++ b/MoinMoin/security/antispam.py	Tue Jan 27 21:18:50 2009 +0100
@@ -185,7 +185,7 @@
                         # Log error and raise SaveError, PageEditor should handle this.
                         _ = editor.request.getText
                         msg = _('Sorry, can not save page because "%(content)s" is not allowed in this wiki.') % {
-                                'content': match.group()
+                                  'content': wikiutil.escape(match.group())
                               }
                         logging.info(msg)
                         raise editor.SaveError(msg)