You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring the auth.server URL with a trailing slash (e.g., https://example.com/), API calls generate malformed URLs containing double slashes (//). This breaks operations like fetching thumbnails, where the resulting URLs are incorrect and fail to load.
Expected Behavior: The generated URL should be correctly formatted as https://example.com/Items/..., without double slashes.
Proposed Fix: The issue is resolved by sanitizing both the base URL and the handler in the jellyfin_url function. The updated implementation is as follows:
Description:
When configuring the auth.server URL with a trailing slash (e.g., https://example.com/), API calls generate malformed URLs containing double slashes (//). This breaks operations like fetching thumbnails, where the resulting URLs are incorrect and fail to load.
Steps to Reproduce:
Expected Behavior: The generated URL should be correctly formatted as https://example.com/Items/..., without double slashes.
Proposed Fix: The issue is resolved by sanitizing both the base URL and the handler in the jellyfin_url function. The updated implementation is as follows:
This ensures:
Additional Context: The fix ensures robust URL generation regardless of user configuration.
The text was updated successfully, but these errors were encountered: