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
39d6f9fb
Commit
39d6f9fb
authored
Sep 07, 2016
by
Maurits van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quote variables in manage_tabs and manage_container to avoid XSS.
From Products.PloneHotfix20160830.
parent
e0a09da0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
doc/CHANGES.rst
doc/CHANGES.rst
+3
-0
src/App/dtml/manage_tabs.dtml
src/App/dtml/manage_tabs.dtml
+1
-1
src/Products/Transience/dtml/manageTransientObjectContainer.dtml
...ducts/Transience/dtml/manageTransientObjectContainer.dtml
+6
-6
No files found.
doc/CHANGES.rst
View file @
39d6f9fb
...
...
@@ -8,6 +8,9 @@ http://docs.zope.org/zope2/
2.13.25 (unreleased)
--------------------
- Quote variables in manage_tabs and manage_container to avoid XSS.
From Products.PloneHotfix20160830. [maurits]
- Add a dependency on the empty `Products.TemporaryFolder` project.
- Add a dependency on the empty `Products.Sessions` project.
...
...
src/App/dtml/manage_tabs.dtml
View file @
39d6f9fb
...
...
@@ -156,7 +156,7 @@
<dtml-if manage_tabs_message>
<div class="system-msg">
<dtml-var manage_tabs_message newline_to_br>
<dtml-var manage_tabs_message newline_to_br
html_quote
>
(<dtml-var ZopeTime fmt="%Y-%m-%d %H:%M">)
</div>
</dtml-if>
...
...
src/Products/Transience/dtml/manageTransientObjectContainer.dtml
View file @
39d6f9fb
...
...
@@ -38,7 +38,7 @@ Transient data will persist, but only for a user-specified period of time
</div>
</td>
<td align="left" valign="top">
<input type="text" name="title" size=30 value=
"&dtml-title;"
>
<input type="text" name="title" size=30 value=
'<dtml-var name="title" html_quote>'
>
</td>
</tr>
<tr>
...
...
@@ -52,7 +52,7 @@ Transient data will persist, but only for a user-specified period of time
</td>
<td align="left" valign="top">
<input type="text" name="timeout_mins:int" size=10
value=&dtml-getTimeoutMinutes;
>
value='<dtml-var name="getTimeoutMinutes" html_quote>'
>
</td>
</tr>
...
...
@@ -72,7 +72,7 @@ Transient data will persist, but only for a user-specified period of time
</td>
<td align="left" valign="top">
<input type="text" name="period_secs:int" size=10
value=&dtml-getPeriodSeconds;
>
value='<dtml-var name="getPeriodSeconds" html_quote>'
>
</td>
</tr>
...
...
@@ -87,7 +87,7 @@ Transient data will persist, but only for a user-specified period of time
</td>
<td align="left" valign="top">
<input type="text" name="limit:int" size=10
value=&dtml-getSubobjectLimit;
>
value='<dtml-var name="getSubobjectLimit" html_quote>'
>
</td>
</tr>
...
...
@@ -102,7 +102,7 @@ Transient data will persist, but only for a user-specified period of time
</td>
<td align="left" valign="top">
<input type="text" name="addNotification"
value="&dtml-getAddNotificationTarget;"
size=40>
value='<dtml-var name="getAddNotificationTarget" html_quote>'
size=40>
</td>
</tr>
...
...
@@ -117,7 +117,7 @@ Transient data will persist, but only for a user-specified period of time
</td>
<td align="left" valign="top">
<input type="text" name="delNotification"
value="&dtml-getDelNotificationTarget;"
size=40>
value='<dtml-var name="getDelNotificationTarget" html_quote>'
size=40>
</td>
</tr>
...
...
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