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
d17904be
Commit
d17904be
authored
Mar 23, 2016
by
Dave Cridland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-777 CVE-2015-6973 CSRF protection (part 3)
parent
d28e19d2
Changes
34
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
59 additions
and
44 deletions
+59
-44
audit-policy.jsp
src/web/audit-policy.jsp
+1
-1
available-plugins.jsp
src/web/available-plugins.jsp
+14
-0
chatroom-history-settings.jsp
src/web/chatroom-history-settings.jsp
+1
-1
compression-settings.jsp
src/web/compression-settings.jsp
+1
-1
connection-managers-settings.jsp
src/web/connection-managers-settings.jsp
+1
-1
connection-settings-advanced.jsp
src/web/connection-settings-advanced.jsp
+1
-1
connection-settings-external-components.jsp
src/web/connection-settings-external-components.jsp
+4
-4
connection-settings-socket-c2s.jsp
src/web/connection-settings-socket-c2s.jsp
+1
-1
connection-settings-socket-s2s.jsp
src/web/connection-settings-socket-s2s.jsp
+5
-5
file-transfer-proxy.jsp
src/web/file-transfer-proxy.jsp
+1
-1
group-create.jsp
src/web/group-create.jsp
+1
-1
group-delete.jsp
src/web/group-delete.jsp
+1
-1
group-edit.jsp
src/web/group-edit.jsp
+3
-3
http-bind.jsp
src/web/http-bind.jsp
+1
-1
import-keystore-certificate.jsp
src/web/import-keystore-certificate.jsp
+1
-1
manage-updates.jsp
src/web/manage-updates.jsp
+1
-1
media-proxy.jsp
src/web/media-proxy.jsp
+2
-2
muc-create-permission.jsp
src/web/muc-create-permission.jsp
+2
-2
muc-default-settings.jsp
src/web/muc-default-settings.jsp
+1
-1
muc-history-settings.jsp
src/web/muc-history-settings.jsp
+1
-1
muc-room-affiliations.jsp
src/web/muc-room-affiliations.jsp
+1
-1
muc-room-delete.jsp
src/web/muc-room-delete.jsp
+1
-1
muc-room-edit-form.jsp
src/web/muc-room-edit-form.jsp
+1
-1
muc-service-delete.jsp
src/web/muc-service-delete.jsp
+1
-0
muc-service-edit-form.jsp
src/web/muc-service-edit-form.jsp
+1
-1
muc-sysadmins.jsp
src/web/muc-sysadmins.jsp
+1
-1
muc-tasks.jsp
src/web/muc-tasks.jsp
+2
-2
offline-messages.jsp
src/web/offline-messages.jsp
+1
-1
plugin-admin.jsp
src/web/plugin-admin.jsp
+1
-1
private-data-settings.jsp
src/web/private-data-settings.jsp
+1
-1
reg-settings.jsp
src/web/reg-settings.jsp
+1
-1
security-certificate-store-management.jsp
src/web/security-certificate-store-management.jsp
+1
-1
security-keystore-signing-request.jsp
src/web/security-keystore-signing-request.jsp
+1
-1
security-keystore.jsp
src/web/security-keystore.jsp
+1
-1
No files found.
src/web/audit-policy.jsp
View file @
d17904be
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
<!-- BEGIN 'Set Message Audit Policy' -->
<!-- BEGIN 'Set Message Audit Policy' -->
<form
action=
"audit-policy.jsp"
name=
"f"
>
<form
action=
"audit-policy.jsp"
name=
"f"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"audit.policy.policytitle"
/>
<fmt:message
key=
"audit.policy.policytitle"
/>
</div>
</div>
...
...
src/web/available-plugins.jsp
View file @
d17904be
...
@@ -28,6 +28,9 @@
...
@@ -28,6 +28,9 @@
<%@ page
import=
"java.util.Comparator"
%>
<%@ page
import=
"java.util.Comparator"
%>
<%@ page
import=
"java.util.List"
%>
<%@ page
import=
"java.util.List"
%>
<%@ page
import=
"org.jivesoftware.util.JiveGlobals"
%>
<%@ page
import=
"org.jivesoftware.util.JiveGlobals"
%>
<%@ page
import=
"org.jivesoftware.util.StringUtils"
%>
<%@ page
import=
"org.jivesoftware.util.ParamUtils"
%>
<%@ page
import=
"org.jivesoftware.util.CookieUtils"
%>
<%@ page
import=
"java.util.Date"
%>
<%@ page
import=
"java.util.Date"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
<%@ taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%>
...
@@ -39,6 +42,17 @@
...
@@ -39,6 +42,17 @@
<%
<%
boolean
downloadRequested
=
request
.
getParameter
(
"download"
)
!=
null
;
boolean
downloadRequested
=
request
.
getParameter
(
"download"
)
!=
null
;
String
url
=
request
.
getParameter
(
"url"
);
String
url
=
request
.
getParameter
(
"url"
);
Cookie
csrfCookie
=
CookieUtils
.
getCookie
(
request
,
"csrf"
);
String
csrfParam
=
ParamUtils
.
getParameter
(
request
,
"csrf"
);
if
(
downloadRequested
)
{
if
(
csrfCookie
==
null
||
csrfParam
==
null
||
!
csrfCookie
.
getValue
().
equals
(
csrfParam
))
{
downloadRequested
=
false
;
}
}
csrfParam
=
StringUtils
.
randomString
(
15
);
CookieUtils
.
setCookie
(
request
,
response
,
"csrf"
,
csrfParam
,
-
1
);
pageContext
.
setAttribute
(
"csrf"
,
csrfParam
);
UpdateManager
updateManager
=
XMPPServer
.
getInstance
().
getUpdateManager
();
UpdateManager
updateManager
=
XMPPServer
.
getInstance
().
getUpdateManager
();
List
<
AvailablePlugin
>
plugins
=
updateManager
.
getNotInstalledPlugins
();
List
<
AvailablePlugin
>
plugins
=
updateManager
.
getNotInstalledPlugins
();
...
...
src/web/chatroom-history-settings.jsp
View file @
d17904be
...
@@ -128,7 +128,7 @@
...
@@ -128,7 +128,7 @@
</p>
</p>
<form
action=
"chatroom-history-settings.jsp"
method=
"post"
>
<form
action=
"chatroom-history-settings.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<fieldset>
<fieldset>
<legend><fmt:message
key=
"chatroom.history.settings.policy"
/></legend>
<legend><fmt:message
key=
"chatroom.history.settings.policy"
/></legend>
...
...
src/web/compression-settings.jsp
View file @
d17904be
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<!-- BEGIN compression settings -->
<!-- BEGIN compression settings -->
<form
action=
"compression-settings.jsp"
>
<form
action=
"compression-settings.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBox"
style=
"-moz-border-radius: 3px;"
>
<div
class=
"jive-contentBox"
style=
"-moz-border-radius: 3px;"
>
...
...
src/web/connection-managers-settings.jsp
View file @
d17904be
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
<%
}
%>
<%
}
%>
<form
action=
"connection-managers-settings.jsp"
method=
"post"
>
<form
action=
"connection-managers-settings.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<fieldset>
<fieldset>
<div>
<div>
...
...
src/web/connection-settings-advanced.jsp
View file @
d17904be
...
@@ -295,7 +295,7 @@
...
@@ -295,7 +295,7 @@
</p>
</p>
<form
action=
"connection-settings-advanced.jsp?connectionType=${connectionType}&connectionMode=${connectionMode}"
onsubmit=
"selectAllOptions('cipherSuitesEnabled')"
method=
"post"
>
<form
action=
"connection-settings-advanced.jsp?connectionType=${connectionType}&connectionMode=${connectionMode}"
onsubmit=
"selectAllOptions('cipherSuitesEnabled')"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"update"
value=
"true"
/>
<input
type=
"hidden"
name=
"update"
value=
"true"
/>
<fmt:message
key=
"connection.advanced.settings.tcp.boxtitle"
var=
"tcpboxtitle"
/>
<fmt:message
key=
"connection.advanced.settings.tcp.boxtitle"
var=
"tcpboxtitle"
/>
...
...
src/web/connection-settings-external-components.jsp
View file @
d17904be
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
</p>
</p>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<fmt:message
key=
"component.settings.plaintext.boxtitle"
var=
"plaintextboxtitle"
/>
<fmt:message
key=
"component.settings.plaintext.boxtitle"
var=
"plaintextboxtitle"
/>
<admin:contentBox
title=
"
${
plaintextboxtitle
}
"
>
<admin:contentBox
title=
"
${
plaintextboxtitle
}
"
>
...
@@ -335,7 +335,7 @@
...
@@ -335,7 +335,7 @@
<fmt:message
key=
"component.settings.allowed"
var=
"allowedTitle"
/>
<fmt:message
key=
"component.settings.allowed"
var=
"allowedTitle"
/>
<admin:contentBox
title=
"
${
allowedTitle
}
"
>
<admin:contentBox
title=
"
${
allowedTitle
}
"
>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<tr
valign=
"top"
>
<tr
valign=
"top"
>
<td
colspan=
"2"
>
<td
colspan=
"2"
>
...
@@ -409,7 +409,7 @@
...
@@ -409,7 +409,7 @@
<br/>
<br/>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
>
<tr>
<tr>
<td
nowrap
width=
"1%"
>
<td
nowrap
width=
"1%"
>
...
@@ -473,7 +473,7 @@
...
@@ -473,7 +473,7 @@
<br/>
<br/>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<form
action=
"connection-settings-external-components.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
>
<tr>
<tr>
<td
nowrap
width=
"1%"
>
<td
nowrap
width=
"1%"
>
...
...
src/web/connection-settings-socket-c2s.jsp
View file @
d17904be
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
</p>
</p>
<form
action=
"connection-settings-socket-c2s.jsp"
method=
"post"
>
<form
action=
"connection-settings-socket-c2s.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<fmt:message
key=
"ssl.settings.client.plaintext.boxtitle"
var=
"plaintextboxtitle"
/>
<fmt:message
key=
"ssl.settings.client.plaintext.boxtitle"
var=
"plaintextboxtitle"
/>
<admin:contentBox
title=
"
${
plaintextboxtitle
}
"
>
<admin:contentBox
title=
"
${
plaintextboxtitle
}
"
>
...
...
src/web/connection-settings-socket-s2s.jsp
View file @
d17904be
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
</p>
</p>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<fmt:message
key=
"server2server.settings.boxtitle"
var=
"boxtitle"
/>
<fmt:message
key=
"server2server.settings.boxtitle"
var=
"boxtitle"
/>
<admin:contentBox
title=
"
${
boxtitle
}
"
>
<admin:contentBox
title=
"
${
boxtitle
}
"
>
...
@@ -308,7 +308,7 @@
...
@@ -308,7 +308,7 @@
<!-- BEGIN 'Idle Connection Settings' -->
<!-- BEGIN 'Idle Connection Settings' -->
<form
action=
"connection-settings-socket-s2s.jsp?closeSettings"
method=
"post"
>
<form
action=
"connection-settings-socket-s2s.jsp?closeSettings"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<fmt:message
key=
"server2server.settings.close_settings"
var=
"idleTitle"
/>
<fmt:message
key=
"server2server.settings.close_settings"
var=
"idleTitle"
/>
<admin:contentBox
title=
"
${
idleTitle
}
"
>
<admin:contentBox
title=
"
${
idleTitle
}
"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
...
@@ -348,7 +348,7 @@
...
@@ -348,7 +348,7 @@
<fmt:message
key=
"server2server.settings.allowed"
var=
"allowedTitle"
/>
<fmt:message
key=
"server2server.settings.allowed"
var=
"allowedTitle"
/>
<admin:contentBox
title=
"
${
allowedTitle
}
"
>
<admin:contentBox
title=
"
${
allowedTitle
}
"
>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
<tr
valign=
"top"
>
<tr
valign=
"top"
>
<td
width=
"1%"
nowrap
>
<td
width=
"1%"
nowrap
>
...
@@ -377,7 +377,7 @@
...
@@ -377,7 +377,7 @@
</form>
</form>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<table
class=
"jive-table"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<table
class=
"jive-table"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
width=
"100%"
>
<tr>
<tr>
<th
width=
"1%"
>
</th>
<th
width=
"1%"
>
</th>
...
@@ -469,7 +469,7 @@
...
@@ -469,7 +469,7 @@
</table>
</table>
<br>
<br>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<form
action=
"connection-settings-socket-s2s.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
width=
"100%"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
width=
"100%"
>
<tr>
<tr>
<td
nowrap
width=
"1%"
>
<td
nowrap
width=
"1%"
>
...
...
src/web/file-transfer-proxy.jsp
View file @
d17904be
...
@@ -128,7 +128,7 @@ else { %>
...
@@ -128,7 +128,7 @@ else { %>
<!-- BEGIN 'Proxy Service' -->
<!-- BEGIN 'Proxy Service' -->
<form
action=
"file-transfer-proxy.jsp"
method=
"post"
>
<form
action=
"file-transfer-proxy.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"filetransferproxy.settings.enabled.legend"
/>
<fmt:message
key=
"filetransferproxy.settings.enabled.legend"
/>
</div>
</div>
...
...
src/web/group-create.jsp
View file @
d17904be
...
@@ -201,7 +201,7 @@
...
@@ -201,7 +201,7 @@
</p>
</p>
<form
name=
"f"
action=
"group-create.jsp"
method=
"post"
>
<form
name=
"f"
action=
"group-create.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<%
if
(
groupName
!=
null
)
{
%>
<%
if
(
groupName
!=
null
)
{
%>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
id=
"existingName"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
id=
"existingName"
>
...
...
src/web/group-delete.jsp
View file @
d17904be
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
</p>
</p>
<form
action=
"group-delete.jsp"
>
<form
action=
"group-delete.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
>
<input
type=
"submit"
name=
"delete"
value=
"
<fmt:message
key=
"group.delete.delete"
/>
"
>
<input
type=
"submit"
name=
"delete"
value=
"
<fmt:message
key=
"group.delete.delete"
/>
"
>
<input
type=
"submit"
name=
"cancel"
value=
"
<fmt:message
key=
"global.cancel"
/>
"
>
<input
type=
"submit"
name=
"cancel"
value=
"
<fmt:message
key=
"global.cancel"
/>
"
>
...
...
src/web/group-edit.jsp
View file @
d17904be
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
<div
class=
"jive-horizontalRule"
></div>
<div
class=
"jive-horizontalRule"
></div>
<form
name=
"ff"
action=
"group-edit.jsp"
>
<form
name=
"ff"
action=
"group-edit.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
/>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
/>
...
@@ -496,7 +496,7 @@
...
@@ -496,7 +496,7 @@
</p>
</p>
<form
action=
"group-edit.jsp"
method=
"post"
name=
"f"
>
<form
action=
"group-edit.jsp"
method=
"post"
name=
"f"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
>
<input
type=
"hidden"
name=
"add"
value=
"Add"
/>
<input
type=
"hidden"
name=
"add"
value=
"Add"
/>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
style=
"margin: 0 0 8px 0;"
>
<table
cellpadding=
"3"
cellspacing=
"1"
border=
"0"
style=
"margin: 0 0 8px 0;"
>
...
@@ -515,7 +515,7 @@
...
@@ -515,7 +515,7 @@
<%
}
%>
<%
}
%>
<form
action=
"group-edit.jsp"
method=
"post"
name=
"main"
>
<form
action=
"group-edit.jsp"
method=
"post"
name=
"main"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
>
<input
type=
"hidden"
name=
"group"
value=
"
<%=
StringUtils
.
escapeForXML
(
groupName
)
%>
"
>
<table
class=
"jive-table"
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
width=
"435"
>
<table
class=
"jive-table"
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
width=
"435"
>
<tr>
<tr>
...
...
src/web/http-bind.jsp
View file @
d17904be
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
}
%>
}
%>
<form
action=
"http-bind.jsp"
method=
"post"
>
<form
action=
"http-bind.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBox"
style=
"-moz-border-radius: 3px;"
>
<div
class=
"jive-contentBox"
style=
"-moz-border-radius: 3px;"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
<table
cellpadding=
"3"
cellspacing=
"0"
border=
"0"
>
...
...
src/web/import-keystore-certificate.jsp
View file @
d17904be
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
<!-- BEGIN 'Import Private Key and Certificate' -->
<!-- BEGIN 'Import Private Key and Certificate' -->
<form
action=
"import-keystore-certificate.jsp?connectionType=${connectionType}"
method=
"post"
>
<form
action=
"import-keystore-certificate.jsp?connectionType=${connectionType}"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<c:set
var=
"title"
><fmt:message
key=
"ssl.import.certificate.keystore.private-key.title"
/></c:set>
<c:set
var=
"title"
><fmt:message
key=
"ssl.import.certificate.keystore.private-key.title"
/></c:set>
<admin:contentBox
title=
"
${
title
}
"
>
<admin:contentBox
title=
"
${
title
}
"
>
...
...
src/web/manage-updates.jsp
View file @
d17904be
...
@@ -143,7 +143,7 @@ else if (updateSucess) { %>
...
@@ -143,7 +143,7 @@ else if (updateSucess) { %>
<!-- BEGIN manage updates settings -->
<!-- BEGIN manage updates settings -->
<form
action=
"manage-updates.jsp"
method=
"post"
>
<form
action=
"manage-updates.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<!--<div class="jive-contentBoxHeader">
<!--<div class="jive-contentBoxHeader">
</div>-->
</div>-->
...
...
src/web/media-proxy.jsp
View file @
d17904be
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
<%
}
%>
<%
}
%>
<form
action=
"media-proxy.jsp"
method=
"post"
>
<form
action=
"media-proxy.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"mediaproxy.form.label"
/>
<fmt:message
key=
"mediaproxy.form.label"
/>
</div>
</div>
...
@@ -336,7 +336,7 @@
...
@@ -336,7 +336,7 @@
</tbody>
</tbody>
</table>
</table>
<form
action=
""
>
<form
action=
""
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"submit"
name=
"stop"
value=
"
<fmt:message
key=
"mediaproxy.summary.stopbutton"
/>
"
/>
<input
type=
"submit"
name=
"stop"
value=
"
<fmt:message
key=
"mediaproxy.summary.stopbutton"
/>
"
/>
</form>
</form>
</div>
</div>
...
...
src/web/muc-create-permission.jsp
View file @
d17904be
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
<!-- BEGIN 'Permission Policy' -->
<!-- BEGIN 'Permission Policy' -->
<form
action=
"muc-create-permission.jsp?save"
method=
"post"
>
<form
action=
"muc-create-permission.jsp?save"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"muc.create.permission.policy"
/>
<fmt:message
key=
"muc.create.permission.policy"
/>
...
@@ -245,7 +245,7 @@
...
@@ -245,7 +245,7 @@
<%
if
(
mucService
.
isRoomCreationRestricted
())
{
%>
<%
if
(
mucService
.
isRoomCreationRestricted
())
{
%>
<!-- BEGIN 'Allowed Users' -->
<!-- BEGIN 'Allowed Users' -->
<form
action=
"muc-create-permission.jsp?add"
method=
"post"
>
<form
action=
"muc-create-permission.jsp?add"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"muc.create.permission.allowed_users"
/>
<fmt:message
key=
"muc.create.permission.allowed_users"
/>
...
...
src/web/muc-default-settings.jsp
View file @
d17904be
...
@@ -194,7 +194,7 @@
...
@@ -194,7 +194,7 @@
<!-- BEGIN 'Default Room Settings' -->
<!-- BEGIN 'Default Room Settings' -->
<form
action=
"muc-default-settings.jsp?save"
method=
"post"
>
<form
action=
"muc-default-settings.jsp?save"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"muc.default.settings.title"
/>
<fmt:message
key=
"muc.default.settings.title"
/>
...
...
src/web/muc-history-settings.jsp
View file @
d17904be
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
<!-- BEGIN 'History Settings' -->
<!-- BEGIN 'History Settings' -->
<form
action=
"muc-history-settings.jsp"
method=
"post"
>
<form
action=
"muc-history-settings.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"groupchat.history.settings.legend"
/>
<fmt:message
key=
"groupchat.history.settings.legend"
/>
...
...
src/web/muc-room-affiliations.jsp
View file @
d17904be
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
<%
}
%>
<%
}
%>
<form
action=
"muc-room-affiliations.jsp?add"
method=
"post"
>
<form
action=
"muc-room-affiliations.jsp?add"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"roomJID"
value=
"
<%=
roomJID
.
toBareJID
()
%>
"
>
<input
type=
"hidden"
name=
"roomJID"
value=
"
<%=
roomJID
.
toBareJID
()
%>
"
>
<fieldset>
<fieldset>
...
...
src/web/muc-room-delete.jsp
View file @
d17904be
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
</p>
</p>
<form
action=
"muc-room-delete.jsp"
>
<form
action=
"muc-room-delete.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"roomJID"
value=
"
<%=
StringUtils
.
escapeForXML
(
roomJID
.
toBareJID
())
%>
"
>
<input
type=
"hidden"
name=
"roomJID"
value=
"
<%=
StringUtils
.
escapeForXML
(
roomJID
.
toBareJID
())
%>
"
>
<fieldset>
<fieldset>
...
...
src/web/muc-room-edit-form.jsp
View file @
d17904be
...
@@ -458,7 +458,7 @@
...
@@ -458,7 +458,7 @@
<%
if
(!
create
)
{
%>
<%
if
(!
create
)
{
%>
<input
type=
"hidden"
name=
"roomJID"
value=
"
<%=
StringUtils
.
escapeForXML
(
roomJID
.
toBareJID
())
%>
"
>
<input
type=
"hidden"
name=
"roomJID"
value=
"
<%=
StringUtils
.
escapeForXML
(
roomJID
.
toBareJID
())
%>
"
>
<%
}
%>
<%
}
%>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"save"
value=
"true"
>
<input
type=
"hidden"
name=
"save"
value=
"true"
>
<input
type=
"hidden"
name=
"create"
value=
"
<%=
create
%>
"
>
<input
type=
"hidden"
name=
"create"
value=
"
<%=
create
%>
"
>
<input
type=
"hidden"
name=
"roomconfig_persistentroom"
value=
"
<%=
persistentRoom
%>
"
>
<input
type=
"hidden"
name=
"roomconfig_persistentroom"
value=
"
<%=
persistentRoom
%>
"
>
...
...
src/web/muc-service-delete.jsp
View file @
d17904be
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
</p>
</p>
<form
action=
"muc-service-delete.jsp"
>
<form
action=
"muc-service-delete.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"${csrf}"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
>
<fieldset>
<fieldset>
...
...
src/web/muc-service-edit-form.jsp
View file @
d17904be
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
<!-- BEGIN 'Service Name'-->
<!-- BEGIN 'Service Name'-->
<form
action=
"muc-service-edit-form.jsp"
method=
"post"
>
<form
action=
"muc-service-edit-form.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"save"
value=
"true"
>
<input
type=
"hidden"
name=
"save"
value=
"true"
>
<%
if
(!
create
)
{
%>
<%
if
(!
create
)
{
%>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
>
...
...
src/web/muc-sysadmins.jsp
View file @
d17904be
...
@@ -176,7 +176,7 @@
...
@@ -176,7 +176,7 @@
<!-- BEGIN 'Administrators' -->
<!-- BEGIN 'Administrators' -->
<form
action=
"muc-sysadmins.jsp?add"
method=
"post"
>
<form
action=
"muc-sysadmins.jsp?add"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"groupchat.admins.legend"
/>
<fmt:message
key=
"groupchat.admins.legend"
/>
...
...
src/web/muc-tasks.jsp
View file @
d17904be
...
@@ -200,7 +200,7 @@
...
@@ -200,7 +200,7 @@
<!-- BEGIN 'Idle User Settings' -->
<!-- BEGIN 'Idle User Settings' -->
<form
action=
"muc-tasks.jsp?kickSettings"
method=
"post"
>
<form
action=
"muc-tasks.jsp?kickSettings"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"muc.tasks.user_setting"
/>
<fmt:message
key=
"muc.tasks.user_setting"
/>
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
<!-- BEGIN 'Conversation Logging' -->
<!-- BEGIN 'Conversation Logging' -->
<form
action=
"muc-tasks.jsp?logSettings"
method=
"post"
>
<form
action=
"muc-tasks.jsp?logSettings"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<input
type=
"hidden"
name=
"mucname"
value=
"
<%=
StringUtils
.
escapeForXML
(
mucname
)
%>
"
/>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"muc.tasks.conversation.logging"
/>
<fmt:message
key=
"muc.tasks.conversation.logging"
/>
...
...
src/web/offline-messages.jsp
View file @
d17904be
...
@@ -211,7 +211,7 @@
...
@@ -211,7 +211,7 @@
<!-- BEGIN 'Offline Message Policy' -->
<!-- BEGIN 'Offline Message Policy' -->
<form
action=
"offline-messages.jsp"
>
<form
action=
"offline-messages.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"offline.messages.policy"
/>
<fmt:message
key=
"offline.messages.policy"
/>
</div>
</div>
...
...
src/web/plugin-admin.jsp
View file @
d17904be
...
@@ -645,7 +645,7 @@ else if ("false".equals(request.getParameter("uploadsuccess"))) { %>
...
@@ -645,7 +645,7 @@ else if ("false".equals(request.getParameter("uploadsuccess"))) { %>
<h3><fmt:message
key=
"plugin.admin.upload_plugin"
/></h3>
<h3><fmt:message
key=
"plugin.admin.upload_plugin"
/></h3>
<p><fmt:message
key=
"plugin.admin.upload_plugin.info"
/></p>
<p><fmt:message
key=
"plugin.admin.upload_plugin.info"
/></p>
<form
action=
"plugin-admin.jsp?uploadplugin"
enctype=
"multipart/form-data"
method=
"post"
>
<form
action=
"plugin-admin.jsp?uploadplugin"
enctype=
"multipart/form-data"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"file"
name=
"uploadfile"
/>
<input
type=
"file"
name=
"uploadfile"
/>
<input
type=
"submit"
value=
"
<fmt:message
key=
"plugin.admin.upload_plugin"
/>
"
/>
<input
type=
"submit"
value=
"
<fmt:message
key=
"plugin.admin.upload_plugin"
/>
"
/>
</form>
</form>
...
...
src/web/private-data-settings.jsp
View file @
d17904be
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<!-- BEGIN 'Set Private Data Policy' -->
<!-- BEGIN 'Set Private Data Policy' -->
<form
action=
"private-data-settings.jsp"
>
<form
action=
"private-data-settings.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
<fmt:message
key=
"private.data.settings.policy"
/>
<fmt:message
key=
"private.data.settings.policy"
/>
</div>
</div>
...
...
src/web/reg-settings.jsp
View file @
d17904be
...
@@ -151,7 +151,7 @@
...
@@ -151,7 +151,7 @@
</p>
</p>
<form
action=
"reg-settings.jsp"
>
<form
action=
"reg-settings.jsp"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<%
if
(
save
)
{
%>
<%
if
(
save
)
{
%>
...
...
src/web/security-certificate-store-management.jsp
View file @
d17904be
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
</c:set>
</c:set>
<form
action=
"security-certificate-store-management.jsp"
method=
"post"
>
<form
action=
"security-certificate-store-management.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"connectionType"
value=
"${connectionType}"
/>
<input
type=
"hidden"
name=
"connectionType"
value=
"${connectionType}"
/>
<admin:contentBox
title=
"
${
title
}
"
>
<admin:contentBox
title=
"
${
title
}
"
>
...
...
src/web/security-keystore-signing-request.jsp
View file @
d17904be
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
<!-- BEGIN 'Issuer information form' -->
<!-- BEGIN 'Issuer information form' -->
<form
action=
"security-keystore-signing-request.jsp"
method=
"post"
>
<form
action=
"security-keystore-signing-request.jsp"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"save"
value=
"true"
>
<input
type=
"hidden"
name=
"save"
value=
"true"
>
<input
type=
"hidden"
name=
"connectionType"
value=
"${connectionType}"
>
<input
type=
"hidden"
name=
"connectionType"
value=
"${connectionType}"
>
<div
class=
"jive-contentBoxHeader"
>
<div
class=
"jive-contentBoxHeader"
>
...
...
src/web/security-keystore.jsp
View file @
d17904be
...
@@ -330,7 +330,7 @@
...
@@ -330,7 +330,7 @@
<%
if
(
isSigningPending
)
{
%>
<%
if
(
isSigningPending
)
{
%>
<form
action=
"security-keystore.jsp?connectionType=${connectionType}"
method=
"post"
>
<form
action=
"security-keystore.jsp?connectionType=${connectionType}"
method=
"post"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
csrf
"
>
<input
type=
"hidden"
name=
"csrf"
value=
"
${csrf}
"
>
<input
type=
"hidden"
name=
"importReply"
value=
"true"
>
<input
type=
"hidden"
name=
"importReply"
value=
"true"
>
<input
type=
"hidden"
name=
"alias"
value=
"${alias}"
>
<input
type=
"hidden"
name=
"alias"
value=
"${alias}"
>
<tr>
<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