mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-05 22:46:27 +01:00
Fix: escape special characters in provider urls
This commit is contained in:
1 parent
5edff98942
commit
02db145a0c
5 files changed
+15
-4
No files matched your search
@@ -85,7 +85,7 @@ class OpenLibrary {
|
||||
}
|
||||
|
||||
async searchTitle(title) {
|
||||
title = title.replace(/'/g, '')
|
||||
title = encodeURIComponent(title);
|
||||
var lookupData = await this.get(`/search.json?title=${title}`)
|
||||
if (!lookupData) {
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user