fix URI encode of download of JT from ap

This commit is contained in:
Seth Call 2017-01-05 21:15:03 -06:00
parent ea7ed8c65e
commit 4a702b46fd
1 changed files with 1 additions and 1 deletions

View File

@ -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}")
))