diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-05-25 16:52:57 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-05-25 16:52:57 -0400 |
commit | 408e71344ade84685c181cd326e2ec5e79c9157b (patch) | |
tree | 6385b022dd3a580baacff2d24a5ee3257bb486f2 /lib/class/stream.class.php | |
parent | 09949bb20b369a662642222e3415b9de18b98f30 (diff) | |
download | ampache-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.php | 2 |
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) { |