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

Encode URL param for external player #164

Merged
merged 1 commit into from
May 2, 2024
Merged

Encode URL param for external player #164

merged 1 commit into from
May 2, 2024

Conversation

xfoxfu
Copy link
Contributor

@xfoxfu xfoxfu commented Mar 30, 2024

The URL passed as query parameter for IINA will be url-encoded. This will fix Cannot open file or stream! showing when URL contains special characters (e.g. /[foo] bar.mkv) for IINA.

This is somehow related to a bug in IINA fix: avoid double percent-encode for url scheme, but I think it is better to do url-encoding in alist to support IINA until this bug has been resolved.

Additionally, if the filename contains a %, then it is expected to be encoded per URI standard. In this case, it is not an IINA bug.

@xhofe xhofe merged commit 2bdfd30 into AlistGo:main May 2, 2024
4 checks passed
gmugu pushed a commit to gmugu/alist-web that referenced this pull request Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants