diff options
author | xgizzmo <xgizzmo@ampache> | 2006-04-22 08:52:01 +0000 |
---|---|---|
committer | xgizzmo <xgizzmo@ampache> | 2006-04-22 08:52:01 +0000 |
commit | e3a736e7efd4b8f9a36e0c246adf9605e47e7eb0 (patch) | |
tree | d84af4f95b1fc2856cc85ac82003eb3b143c2888 /lib | |
parent | 1c3d139aab5cfdb7b64acbb67d33a4d657f0ba03 (diff) | |
download | ampache-e3a736e7efd4b8f9a36e0c246adf9605e47e7eb0.tar.gz ampache-e3a736e7efd4b8f9a36e0c246adf9605e47e7eb0.tar.bz2 ampache-e3a736e7efd4b8f9a36e0c246adf9605e47e7eb0.zip |
found some unescaped &
Diffstat (limited to 'lib')
-rw-r--r-- | lib/class/song.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/class/song.class.php b/lib/class/song.class.php index d1a985b4..c6fdcff9 100644 --- a/lib/class/song.class.php +++ b/lib/class/song.class.php @@ -711,12 +711,12 @@ class Song { $username = $GLOBALS['user']->username; $song_id = $this->id; if (conf('require_session')) { - $session_string = "&sid=" . session_id(); + $session_string = "&sid=" . session_id(); } // if they are requiring a session $type = $this->type; if ($GLOBALS['user']->prefs['play_type'] == 'downsample') { - $ds_string = "&ds=" . $GLOBALS['user']->prefs['sample_rate']; + $ds_string = "&ds=" . $GLOBALS['user']->prefs['sample_rate']; } /* Account for retarded players */ @@ -724,7 +724,7 @@ class Song { $this->format_song(); $song_name = rawurlencode($this->f_artist_full . " - " . $this->title . "." . $this->type); - $url = conf('web_path') . "/play/index.php?song=$song_id&uid=$username$session_string$ds_string&name=$song_name"; + $url = conf('web_path') . "/play/index.php?song=$song_id&uid=$username$session_string$ds_string&name=$song_name"; return $url; |