Skip to content

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

Open
Goosse wants to merge 1 commit into
JohnSundell:masterfrom
Goosse:absolute-url-check
Open

Changed website.url() to return path as is if it contains an absolute…#148
Goosse wants to merge 1 commit into
JohnSundell:masterfrom
Goosse:absolute-url-check

Conversation

@Goosse

@Goosse Goosse commented Jul 7, 2023

Copy link
Copy Markdown
Contributor

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

Development

Successfully merging this pull request may close these issues.

1 participant