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

Fix HTTP links not working in podcast show notes. #1420

Merged
merged 2 commits into from
Jan 22, 2023
Merged

Fix HTTP links not working in podcast show notes. #1420

merged 2 commits into from
Jan 22, 2023

Conversation

Bostrolicious
Copy link
Contributor

Fixes #1418. HTTP links in show notes didn't work because sanitize in server/utils/htmlSanitizer.js removes them, as only https was set in allowedSchemes. This commit adds http.

htmlSanitizer/sanitize is only used for podcast and episode descriptions (in server/utils/podcastUtils.js and server/providers/iTunes.js) , so I don't think there's any reason to disallow HTTP.

@Bostrolicious
Copy link
Contributor Author

I realised mailto links weren't allowed either, so I added them to allowedSchemes as well, since they're often used in podcast show notes.

@advplyr
Copy link
Owner

advplyr commented Jan 22, 2023

I think this should be fine. Thanks!

@advplyr advplyr merged commit da2d145 into advplyr:master Jan 22, 2023
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.

[Bug]: HTTP links broken in show notes
2 participants