diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/httpq/httpqplayer.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/httpq/httpqplayer.class.php b/modules/httpq/httpqplayer.class.php index dae6f29e..82685a51 100644 --- a/modules/httpq/httpqplayer.class.php +++ b/modules/httpq/httpqplayer.class.php @@ -54,8 +54,8 @@ class HttpQPlayer { */
function add($name, $url) {
- $args['name'] = $name;
- $args['url'] = str_replace("&","%26",$url);
+ $args['name'] = urlencode($name);
+ $args['url'] = urlencode($url);
$results = $this->sendCommand('playurl', $args);
|