Browse Source

WebUI: Fix magnet url from the browser

adaptive-webui-19844
brvphoenix 4 years ago
parent
commit
bb9ca7f418
  1. 2
      src/webui/www/private/scripts/client.js

2
src/webui/www/private/scripts/client.js

@ -1177,7 +1177,7 @@ function handleDownloadParam() { @@ -1177,7 +1177,7 @@ function handleDownloadParam() {
if (location.hash.indexOf(downloadHash) !== 0)
return;
const url = location.hash.substring(downloadHash.length);
const url = decodeURIComponent(location.hash.substring(downloadHash.length));
// Remove the processed hash from the URL
history.replaceState('', document.title, (location.pathname + location.search));
showDownloadPage([url]);

Loading…
Cancel
Save