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

Changed website.url() to return path as is if it contains an absolute… #148

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Goosse
Copy link
Contributor

@Goosse Goosse commented Jul 7, 2023

I have absolute urls for my episode images hosted on digital ocean spaces. As it is, website.url() assumes path is a system path (absolute or relative), instead of containing an absolute url. This results in invalid urls when it prepends path with website.url.
I changed it to check for http:// and https://.

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