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
33f229a3
Unverified
Commit
33f229a3
authored
Sep 27, 2016
by
Guus der Kinderen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OF-1196: Don't overflow system property name/value
parent
0b0dc85e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
server-properties.jsp
src/web/server-properties.jsp
+12
-13
No files found.
src/web/server-properties.jsp
View file @
33f229a3
...
@@ -275,10 +275,17 @@ function dodelete(propName) {
...
@@ -275,10 +275,17 @@ function dodelete(propName) {
<input
type=
"hidden"
name=
"propName"
value=
""
>
<input
type=
"hidden"
name=
"propName"
value=
""
>
<style
type=
"text/css"
>
<style
type=
"text/css"
>
.
hidebox
{
.
nameColumn
{
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
overflow
:
hidden
;
white-space
:
nowrap
;
white-space
:
nowrap
;
max-width
:
200px
;
}
.valueColumn
{
text-overflow
:
ellipsis
;
overflow
:
hidden
;
white-space
:
nowrap
;
max-width
:
300px
;
}
}
</style>
</style>
...
@@ -311,22 +318,14 @@ function dodelete(propName) {
...
@@ -311,22 +318,14 @@ function dodelete(propName) {
%>
%>
<tr
class=
"
<%=
(
n
.
equals
(
propName
)
?
"hilite"
:
""
)
%>
"
>
<tr
class=
"
<%=
(
n
.
equals
(
propName
)
?
"hilite"
:
""
)
%>
"
>
<td>
<td
class=
"nameColumn"
><%=
StringUtils
.
escapeHTMLTags
(
n
)
%></td>
<div
class=
"hidebox"
style=
"width:200px;"
>
<td
class=
"valueColumn"
>
<span
title=
"
<%=
StringUtils
.
escapeForXML
(
n
)
%>
"
>
<%=
StringUtils
.
escapeHTMLTags
(
n
)
%>
</span>
</div>
</td>
<td>
<div
class=
"hidebox"
style=
"width:300px;"
>
<%
if
(
JiveGlobals
.
isPropertyEncrypted
(
n
)
||
<%
if
(
JiveGlobals
.
isPropertyEncrypted
(
n
)
||
JiveGlobals
.
isPropertySensitive
(
n
))
{
%>
JiveGlobals
.
isPropertySensitive
(
n
))
{
%>
<span
style=
"color:#999;"
><i>
hidden
</i></span>
<span
style=
"color:#999;"
><i>
hidden
</i></span>
<%
}
else
{
%>
<%
}
else
{
%>
<
span
title=
"
<%=
(
""
.
equals
(
v
)
?
" "
:
v
)
%>
"
><%=
(
""
.
equals
(
v
)
?
" "
:
v
)
%></span
>
<
%=
(
""
.
equals
(
v
)
?
" "
:
v
)
%
>
<%
}
%>
<%
}
%>
</div>
</td>
</td>
<td
align=
"center"
><a
href=
"#"
onclick=
"doedit('
<%=
StringUtils
.
replace
(
StringUtils
.
escapeHTMLTags
(
n
),
"'"
,
"''"
)
%>
');"
<td
align=
"center"
><a
href=
"#"
onclick=
"doedit('
<%=
StringUtils
.
replace
(
StringUtils
.
escapeHTMLTags
(
n
),
"'"
,
"''"
)
%>
');"
><img
src=
"images/edit-16x16.gif"
width=
"16"
height=
"16"
><img
src=
"images/edit-16x16.gif"
width=
"16"
height=
"16"
...
...
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