mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Content server now properly encodes generated URIs based on book metadata
This commit is contained in:
parent
8af820ef49
commit
1e46683819
@ -40,7 +40,7 @@ function create_table_headers() {
|
||||
|
||||
|
||||
function format_url(format, id, title) {
|
||||
return 'get/'+format.toLowerCase() + '/'+title.replace('#', '') + '_' + id+'.'+format.toLowerCase();
|
||||
return 'get/'+format.toLowerCase() + '/'+encodeURIComponent(title) + '_' + id+'.'+format.toLowerCase();
|
||||
}
|
||||
|
||||
function render_book(book) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user