Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Openfire
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Openfire
Commits
835438b7
Unverified
Commit
835438b7
authored
Mar 22, 2018
by
Dave Cridland
Committed by
GitHub
Mar 22, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1055 from GregDThomas/OF-1518
OF-1518: Ensure the summary is properly escaped
parents
1c36f50f
e8fa8d23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
security-audit-viewer.jsp
src/web/security-audit-viewer.jsp
+1
-1
No files found.
src/web/security-audit-viewer.jsp
View file @
835438b7
...
...
@@ -167,7 +167,7 @@
<%=
event
.
getNode
()
%>
</td>
<td
width=
"59%"
>
<%=
event
.
getSummary
(
)
%>
<%=
StringUtils
.
escapeHTMLTags
(
event
.
getSummary
()
)
%>
<%
if
(
event
.
getDetails
()
!=
null
)
{
%>
<a
href=
""
onclick=
"if (document.getElementById('details
<%=
event
.
getMsgID
()
%>
').style.display == 'none') { document.getElementById('details
<%=
event
.
getMsgID
()
%>
').style.display = 'block'; document.getElementById('label
<%=
event
.
getMsgID
()
%>
').innerHTML = '
<%=
LocaleUtils
.
getLocalizedString
(
"security.audit.viewer.hide_details"
)
%>
'; return false;} else { document.getElementById('details
<%=
event
.
getMsgID
()
%>
').style.display = 'none'; document.getElementById('label
<%=
event
.
getMsgID
()
%>
').innerHTML = '
<%=
LocaleUtils
.
getLocalizedString
(
"security.audit.viewer.show_details"
)
%>
'; return false;}"
id=
"label
<%=
event
.
getMsgID
()
%>
"
><fmt:message
key=
"security.audit.viewer.show_details"
/></a><br/>
<pre
id=
"details
<%=
event
.
getMsgID
()
%>
"
style=
"display:none; margin: 0px; padding: 1px;"
><%=
StringUtils
.
escapeHTMLTags
(
event
.
getDetails
())
%></pre>
...
...
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