summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea784e6)
raw | patch | inline | side by side (parent: ea784e6)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 12 Jan 2010 05:18:41 +0000 (05:18 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Tue, 12 Jan 2010 05:18:41 +0000 (05:18 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4424 57a73879-2fb5-44c3-a270-3262357dd7e2
doc/upgrading.txt | patch | blob | history |
diff --git a/doc/upgrading.txt b/doc/upgrading.txt
index 1a461d3d270b62592d8b712d2ace74df28280ae5..fea00862b2ad71e2ca495b508083b622c865a6b5 100644 (file)
--- a/doc/upgrading.txt
+++ b/doc/upgrading.txt
"Create" permissions exist for all properties you want users to be able
to create.
+Fixing some potential security holes
+------------------------------------
+
+Some HTML templates were found to have formatting security problems:
+
+``html/page.html``::
+
+ -tal:replace="request/user/username">username</span></b><br>
+ +tal:replace="python:request.user.username.plain(escape=1)">username</span></b><br>
+
+``html/_generic.help-list.html``::
+
+ -tal:content="structure python:item[prop]"></label>
+ +tal:content="python:item[prop]"></label>
+
+The lines marked "+" should be added and lines marked "-" should be
+deleted (minus the "+"/"-" signs).
+
+
Migrating from 1.4.x to 1.4.11
==============================
The lines marked "+" should be added and lines marked "-" should be
deleted (minus the "+"/"-" signs).
+You should also modify the ``html/page.py`` template to change the
+permission tested there::
+
+ -tal:condition="python:request.user.hasPermission('Create', 'user')"
+ +tal:condition="python:request.user.hasPermission('Register', 'user')"
+
Generic class editor may now restore retired items
--------------------------------------------------