mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-29 11:02:14 +01:00
fixes #232 - '/' in artist causes issues.
This commit is contained in:
@@ -97,6 +97,10 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout) {
|
||||
|
||||
self.encodeName = function (name) {
|
||||
|
||||
name = name.split('/').join('-');
|
||||
|
||||
name = name.split('?').join('-');
|
||||
|
||||
var val = $.param({ name: name });
|
||||
return val.substring(val.indexOf('=') + 1).replace("'", '%27');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user