mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 15:39:16 +02:00
Fix #470: Properly encode Wikipedia and lyrics search urls
This commit is contained in:
parent
3a5a446509
commit
a8f7893def
4 changed files with 5 additions and 4 deletions
|
@ -102,7 +102,7 @@ export default {
|
|||
}
|
||||
},
|
||||
wikipediaUrl () {
|
||||
return 'https://en.wikipedia.org/w/index.php?search=' + this.album.title + ' ' + this.album.artist.name
|
||||
return 'https://en.wikipedia.org/w/index.php?search=' + encodeURI(this.album.title + ' ' + this.album.artist.name)
|
||||
},
|
||||
musicbrainzUrl () {
|
||||
return 'https://musicbrainz.org/release/' + this.album.mbid
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue