Fixing issue similiar to MoinMoinBugs/1.9.2XSSTemplateParameter
authorEugene Syromyatnikov <evgsyr@gmail.com>
Thu, 03 Jun 2010 16:49:30 +0400
changeset 56784fe9951788cb
parent 5675 de7d4e43d3aa
child 5679 e50b087c4572
Fixing issue similiar to MoinMoinBugs/1.9.2XSSTemplateParameter
MoinMoin/action/SlideShow.py
     1.1 --- a/MoinMoin/action/SlideShow.py	Thu Jun 03 13:30:28 2010 +0200
     1.2 +++ b/MoinMoin/action/SlideShow.py	Thu Jun 03 16:49:30 2010 +0400
     1.3 @@ -161,7 +161,7 @@
     1.4              self.request.setContentLanguage(language)
     1.5              self.request.write(self.template % self)
     1.6          except Error, err:
     1.7 -            self.request.theme.add_msg(unicode(err), "error")
     1.8 +            self.request.theme.add_msg(wikiutil.escape(unicode(err)), "error")
     1.9              self.page.send_page()
    1.10  
    1.11      # Private ----------------------------------------------------------------