[Bug] Host removal from API breaks thumbnails in third party apps #219
Labels
No labels
A/B testing suspicion
bug
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Fijxu/invidious#219
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
Thanks for forking and keeping this instance up to date with patches and needed fixes (Redis, especially).
I run this image on my personal instance with Yattee as a client on my end devices - the thumbnails in it don't work however as it extracts the full URL from the API, and doesn't append the path - as a result of this change they were broken:
3bb7924181 (diff-01cdddb164)I reverted this on a local fork, built the container and deployed it and it fixes the issue I'm encountering.
Would you consider reverting (or I can submit a PR)?
Thanks
Logs
Screenshots
Additional context
Thanks for reporting this.
I need to complete support for the Host header there.
Actually, looking at this again - is the only problem that
#{env.request.headers["Host"]}needs added back in here?yes, I need to make
envargument available to that function so I can craft a correct URL based on the Host header, I may get my hands on that later