summaryrefslogtreecommitdiffstats
path: root/lib/class/stream.class.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2012-05-25 16:52:57 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-05-25 16:52:57 -0400
commit408e71344ade84685c181cd326e2ec5e79c9157b (patch)
tree6385b022dd3a580baacff2d24a5ee3257bb486f2 /lib/class/stream.class.php
parent09949bb20b369a662642222e3415b9de18b98f30 (diff)
downloadampache-408e71344ade84685c181cd326e2ec5e79c9157b.tar.gz
ampache-408e71344ade84685c181cd326e2ec5e79c9157b.tar.bz2
ampache-408e71344ade84685c181cd326e2ec5e79c9157b.zip
escapeshellarg's behaviour is locale-dependent
Reimplement it locally so it isn't. Might fix FS#252.
Diffstat (limited to 'lib/class/stream.class.php')
-rw-r--r--lib/class/stream.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/stream.class.php b/lib/class/stream.class.php
index bc23d28b..4d7b44c5 100644
--- a/lib/class/stream.class.php
+++ b/lib/class/stream.class.php
@@ -691,7 +691,7 @@ class Stream {
$eofss = floor($song->time - ($eofmm * 60));
$eof = sprintf('%02d.%02d', $eofmm, $eofss);
- $song_file = escapeshellarg($song->file);
+ $song_file = scrub_arg($song->file);
$transcode_command = $song->stream_cmd();
if ($transcode_command == null) {