From 408e71344ade84685c181cd326e2ec5e79c9157b Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Fri, 25 May 2012 16:52:57 -0400 Subject: escapeshellarg's behaviour is locale-dependent Reimplement it locally so it isn't. Might fix FS#252. --- lib/class/stream.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/class/stream.class.php') 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) { -- cgit