Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
4be07990
Commit
4be07990
authored
Jan 11, 2010
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- LP #491224: proper escaping of rendered error message
parent
8b76f6f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
doc/CHANGES.txt
doc/CHANGES.txt
+4
-0
lib/python/OFS/SimpleItem.py
lib/python/OFS/SimpleItem.py
+2
-0
No files found.
doc/CHANGES.txt
View file @
4be07990
...
...
@@ -4,6 +4,10 @@ Zope Changes
Change information for previous versions of Zope can be found in the
file HISTORY.txt.
Zope 2.8.12 (unreleased)
- LP #491224: proper escaping of rendered error message
Zope 2.8.11 (2009/08/06)
Bugs fixed
...
...
lib/python/OFS/SimpleItem.py
View file @
4be07990
...
...
@@ -25,6 +25,7 @@ import marshal, re, sys, time
import
Globals
,
App
.
Management
,
Acquisition
,
App
.
Undo
import
AccessControl.Role
,
AccessControl
.
Owned
,
App
.
Common
from
webdav.Resource
import
Resource
from
webdav.xmltools
import
escape
as
xml_escape
from
ExtensionClass
import
Base
from
ComputedAttribute
import
ComputedAttribute
from
AccessControl
import
getSecurityManager
,
Unauthorized
...
...
@@ -227,6 +228,7 @@ class Item(Base, Resource, CopySource, App.Management.Tabs, Traversable,
"event log for full details: %s)"
)
%
(
html_quote
(
sys
.
exc_info
()[
1
]),
))
v
=
xml_escape
(
v
)
raise
error_type
,
v
,
tb
finally
:
if
hasattr
(
self
,
'_v_eek'
):
del
self
.
_v_eek
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment