fix URI encode of download of JT from ap
This commit is contained in:
parent
ea7ed8c65e
commit
4a702b46fd
|
|
@ -525,7 +525,7 @@ mixins.push(Reflux.listenTo(UserStore, 'onUserChanged'))
|
|||
|
||||
new window.Fingerprint2().get((result, components) => (
|
||||
redirectTo = "/api/jamtracks/#{jamTrack.id}/stems/master/download.mp3?file_type=mp3&download=1&mark=#{result}"
|
||||
redirectTo = URI.escape(redirectTo)
|
||||
redirectTo = encodeURIComponent(redirectTo)
|
||||
AppActions.openExternalUrl(window.location.protocol + '//' + window.location.host + "/signin?redirect-to=#{redirectTo}")
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue