summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-11-29 08:25:35 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2005-11-29 08:25:35 +0000
commitbda730ec5f252c4dc436efcee498b50b2df8c59a (patch)
treeedde7c337c3da8138e683fa0e75df899ddfcad25
parent0068d79a8b3c9c9caceb7b1e12d71b03825d5b55 (diff)
downloadampache-bda730ec5f252c4dc436efcee498b50b2df8c59a.tar.gz
ampache-bda730ec5f252c4dc436efcee498b50b2df8c59a.tar.bz2
ampache-bda730ec5f252c4dc436efcee498b50b2df8c59a.zip
*cough*
-rw-r--r--modules/amazon/Snoopy.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/amazon/Snoopy.class.php b/modules/amazon/Snoopy.class.php
index 77e5b731..f625f67a 100644
--- a/modules/amazon/Snoopy.class.php
+++ b/modules/amazon/Snoopy.class.php
@@ -1013,7 +1013,7 @@ class Snoopy
$headerfile = tempnam($temp_dir, "sno");
$safer_URI = strtr( $URI, "\"", " " ); // strip quotes from the URI to avoid shell access
- exec($this->curl_path." -D \"$headerfile\"".$cmdline_params." \"".$safer_URI."\"",$results,$return);
+ exec(escapeshellcmd($this->curl_path." -D \"$headerfile\"".$cmdline_params." \"".$safer_URI."\""),$results,$return);
if($return)
{