Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #53: Handle trailing slashes in jellyfin_url #54

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alexhopeoconnor
Copy link

Summary

This pull request fixes Issue #53, where trailing slashes in the auth.server configuration caused malformed URLs in API requests. The updated jellyfin_url function removes trailing slashes from the base URL and leading slashes from the handler.

Changes

  • Modified jellyfin_url to ensure robust URL construction without double slashes.
  • Added a test to verify correct handling of URLs with or without trailing slashes in auth.server.

Fixes

Fixes #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Malformed URLs caused by trailing slash in auth.server
1 participant