mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 13:57:23 +02:00
Dont use quoted slashes when downloading book files via XHR
Quoted slashes are technically illegal in URLs and various reverse proxies have issues with them.
This commit is contained in:
parent
ebe2dca11a
commit
af8802222f
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ def start_download(fname, path):
|
|||
|
||||
for fname in files_left:
|
||||
if fname is not raster_cover_name:
|
||||
start_download(fname, base_path + encodeURIComponent(fname))
|
||||
start_download(fname, base_path + encodeURIComponent(fname).replace(/%2[fF]/, '/'))
|
||||
|
||||
def ensure_maths(self, proceed):
|
||||
self.db.get_mathjax_info(def(mathjax_info):
|
||||
|
|
|
|||
Loading…
Reference in a new issue