mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
Merge pull request #14703 from brvphoenix/fix-url
WebUI: Fix magnet url from the browser
This commit is contained in:
commit
c4a3d70500
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue