mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Fix issue #22074
This commit is contained in:
parent
7487cd7e6d
commit
06cb54259d
1 changed files with 4 additions and 0 deletions
|
@ -113,6 +113,10 @@ def retrieve_url(url: str, custom_headers: Mapping[str, Any] = {}, request_data:
|
|||
pass
|
||||
|
||||
dataStr = data.decode(charset, 'replace')
|
||||
|
||||
# better do it here than in htmlentitydecode which shouldn't make specific exceptions in its task
|
||||
dataStr = dataStr.replace('"', '\\"')
|
||||
|
||||
dataStr = htmlentitydecode(dataStr)
|
||||
return dataStr
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue