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
b0d5a85c
Commit
b0d5a85c
authored
Dec 30, 2016
by
Guus der Kinderen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-1260: Improve CSRF error message (#731)
This fix applies to the Client Control plugin.
parent
923ae93c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
changelog.html
src/plugins/clientControl/changelog.html
+2
-1
plugin.xml
src/plugins/clientControl/plugin.xml
+1
-1
clientcontrol_i18n.properties
...gins/clientControl/src/i18n/clientcontrol_i18n.properties
+2
-0
client-features.jsp
src/plugins/clientControl/src/web/client-features.jsp
+1
-1
No files found.
src/plugins/clientControl/changelog.html
View file @
b0d5a85c
...
...
@@ -43,10 +43,11 @@
<h1>
Client Control Plugin Changelog
</h1>
<p><b>
2.1.1
</b>
-- December
29
, 2016
</p>
<p><b>
2.1.1
</b>
-- December
30
, 2016
</p>
<ul>
<li>
[
<a
href=
'http://www.igniterealtime.org/issues/browse/OF-1258'
>
OF-1258
</a>
] - Adds an option to enable/disable anonymous login in Spark.
</li>
<li>
This update corresponds with ticket SPARK-1852 and requires Spark version 2.8.3 and above for new functionality.
</li>
<li>
[
<a
href=
'https://issues.igniterealtime.org/browse/OF-1260'
>
OF-1260
</a>
] - Improve CSRF error message.
</li>
</ul>
<p><b>
2.1.0
</b>
-- November 24, 2016
</p>
...
...
src/plugins/clientControl/plugin.xml
View file @
b0d5a85c
...
...
@@ -9,7 +9,7 @@
<description>
Controls clients allowed to connect and available features
</description>
<author>
Jive Software
</author>
<version>
2.1.1
</version>
<date>
12/
29
/2016
</date>
<date>
12/
30
/2016
</date>
<minServerVersion>
4.0.0
</minServerVersion>
<!-- UI extension -->
...
...
src/plugins/clientControl/src/i18n/clientcontrol_i18n.properties
View file @
b0d5a85c
...
...
@@ -173,3 +173,5 @@ spark.download.emailtemplate.template.part2 = Once you've performed the initial
the
client
will
automatically
notify
you
when
updates
are
available.
spark.download.emailtemplate.template.part3
=
When the client starts, enter your username and password along with the server name <b>{0}</b>.
spark.download.emailtemplate.template.part4
=
Please contact me for your username and password.
global.csrf.failed
=
CSRF Error: No changes made, you'll need to retry.
src/plugins/clientControl/src/web/client-features.jsp
View file @
b0d5a85c
...
...
@@ -43,7 +43,7 @@
String
csrfParam
=
ParamUtils
.
getParameter
(
request
,
"csrf"
);
boolean
csrfStatus
=
true
;
if
(
csrfCookie
==
null
||
csrfParam
==
null
||
!
csrfCookie
.
getValue
().
equals
(
csrfParam
))
{
if
(
submit
==
true
&&
(
csrfCookie
==
null
||
csrfParam
==
null
||
!
csrfCookie
.
getValue
().
equals
(
csrfParam
)
))
{
submit
=
false
;
csrfStatus
=
false
;
}
...
...
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