summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/show_songs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_songs.inc b/templates/show_songs.inc
index 4ab38820..7d2c5620 100644
--- a/templates/show_songs.inc
+++ b/templates/show_songs.inc
@@ -131,7 +131,7 @@ foreach ($song_ids as $song_id) {
| <a href="<?php echo $web_path; ?>/download/index.php?action=download&amp;song_id=<?php echo $song->id; ?>&amp;sid=<?php echo scrub_out(session_id()); ?>&amp;fn=<?php echo rawurlencode($song->f_artist_full . " - " . $song->title . "." . $song->type); ?>"><?php echo _('Download'); ?></a>
<?php } ?>
<?php if ($GLOBALS['user']->prefs['direct_link']) { ?>
- | <a href="<?php echo $song->get_url(); ?>"><?php echo _('Direct Link'); ?></a>
+ | <a href="<?php echo scrub_out($song->get_url()); ?>"><?php echo _('Direct Link'); ?></a>
<?php } ?>
</td>
<?php if(conf('ratings')) { ?>