Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
b12cf44a
Commit
b12cf44a
authored
Jul 06, 2017
by
Leigh B Stoller
Browse files
Do not call escapeshellarg() on the description, pretty strange. We use
DBQuoteSpecial() on it already, and we avoid lots of backslashes!
parent
ef02acbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/editimageid.in
View file @
b12cf44a
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-201
6
University of Utah and the Flux Group.
# Copyright (c) 2000-201
7
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -337,10 +337,6 @@ if ((exists($editimageid_args{"description"}) ?
$image
->
description
()
eq
""))
{
UserError
("
Description: Missing Field
");
}
if
(
exists
(
$editimageid_args
{"
description
"}))
{
$editimageid_args
{"
description
"}
=
escapeshellarg
(
$editimageid_args
{"
description
"});
}
#
# Path must not be blank.
...
...
Write
Preview
Supports
Markdown
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