Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
a2188595
Commit
a2188595
authored
Apr 19, 2013
by
Bart Visscher
Browse files
No need to strip slashes, json_decode handles that for us
parent
4ccc9d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
apps/files/ajax/delete.php
View file @
a2188595
...
...
@@ -8,7 +8,7 @@ OCP\JSON::callCheck();
// Get data
$dir
=
stripslashes
(
$_POST
[
"dir"
]);
$files
=
isset
(
$_POST
[
"file"
])
?
stripslashes
(
$_POST
[
"file"
]
)
:
stripslashes
(
$_POST
[
"files"
]
)
;
$files
=
isset
(
$_POST
[
"file"
])
?
$_POST
[
"file"
]
:
$_POST
[
"files"
];
$files
=
json_decode
(
$files
);
$filesWithError
=
''
;
...
...
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