Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
96ae110a
Commit
96ae110a
authored
12 years ago
by
Frank Karlitschek
Browse files
Options
Downloads
Plain Diff
Merge pull request #1751 from owncloud/sanitizeHTML
Sanitize html
parents
3b9796bf
79284b8e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/files_external/templates/settings.php
+1
-1
1 addition, 1 deletion
apps/files_external/templates/settings.php
settings/js/users.js
+1
-1
1 addition, 1 deletion
settings/js/users.js
with
2 additions
and
2 deletions
apps/files_external/templates/settings.php
+
1
−
1
View file @
96ae110a
...
...
@@ -18,7 +18,7 @@
<?php
foreach
(
$_
[
'mounts'
]
as
$mountPoint
=>
$mount
)
:
?>
<tr
<?php
echo
(
$mountPoint
!=
''
)
?
'class="'
.
$mount
[
'class'
]
.
'"'
:
'id="addMountPoint"'
;
?>
>
<td
class=
"mountPoint"
><input
type=
"text"
name=
"mountPoint"
value=
"
<?php
echo
$mountPoint
;
?>
"
value=
"
<?php
p
(
$mountPoint
)
;
?>
"
placeholder=
"
<?php
echo
$l
->
t
(
'Mount point'
);
?>
"
/></td>
<?php
if
(
$mountPoint
==
''
)
:
?>
<td
class=
"backend"
>
...
...
This diff is collapsed.
Click to expand it.
settings/js/users.js
+
1
−
1
View file @
96ae110a
...
...
@@ -182,7 +182,7 @@ var UserList = {
var
addGroup
=
function
(
select
,
group
)
{
$
(
'
select[multiple]
'
).
each
(
function
(
index
,
element
)
{
if
(
$
(
element
).
find
(
'
option[value="
'
+
group
+
'
"]
'
).
length
===
0
&&
select
.
data
(
'
msid
'
)
!==
$
(
element
).
data
(
'
msid
'
))
{
$
(
element
).
append
(
'
<option value="
'
+
group
+
'
">
'
+
group
+
'
</option>
'
);
$
(
element
).
append
(
'
<option value="
'
+
escapeHTML
(
group
)
+
'
">
'
+
escapeHTML
(
group
)
+
'
</option>
'
);
}
})
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment