We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2290aefa authored by Mike Sheldon's avatar Mike Sheldon

Fix urlencode that should be rewrite friendly encoded

parent 844cee78
......@@ -367,7 +367,7 @@ class Server {
static function getAlbumURL($artist, $album) {
global $friendly_urls, $base_url;
if($friendly_urls) {
return $base_url . '/artist/' . rewrite_encode($artist) . '/album/' . urlencode($album);
return $base_url . '/artist/' . rewrite_encode($artist) . '/album/' . rewrite_encode($album);
} else {
return $base_url . '/album.php?artist=' . urlencode($artist) . '&album=' . urlencode($album);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment