Skip to content

Comments

Partial fix for #2761 - Add reverse proxy prefix to HLS links#5791

Merged
WithoutPants merged 2 commits intostashapp:developfrom
luigi611:fix-2761
Apr 2, 2025
Merged

Partial fix for #2761 - Add reverse proxy prefix to HLS links#5791
WithoutPants merged 2 commits intostashapp:developfrom
luigi611:fix-2761

Conversation

@luigi611
Copy link
Contributor

Adds prefix from X-Forwarded-Prefix to links generated in HLS file. Partial fix for issue #2761

return
}

prefix := strings.TrimRight(r.Header.Get("X-Forwarded-Prefix"), "")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strings.TrimRight with "" is a no-op, so I'm not sure why this is here.

@WithoutPants WithoutPants added this to the Version 0.29.0 milestone Apr 2, 2025
@WithoutPants WithoutPants added the bug Something isn't working label Apr 2, 2025
@WithoutPants WithoutPants merged commit edbd9b6 into stashapp:develop Apr 2, 2025
2 checks passed
XGFan pushed a commit to XGFan/stash that referenced this pull request Oct 22, 2025
…stashapp#5791)

* Partial fix for stashapp#2761 - Add reverse proxy prefix to HLS links
---------
Co-authored-by: Guido <[email protected]>
Co-authored-by: WithoutPants <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants