Skip to content

Let users provide a list of valid hosts for autodetected base URLs #960

Merged
onli merged 7 commits intomasterfrom
feature/autodetectBaseURLRules
Apr 8, 2026
Merged

Let users provide a list of valid hosts for autodetected base URLs #960
onli merged 7 commits intomasterfrom
feature/autodetectBaseURLRules

Conversation

@onli
Copy link
Copy Markdown
Member

@onli onli commented Apr 6, 2026

Give an option to secure the http host detection when using the autodetect base URL mode.

Thanks to @mabjr33 for the suggestion.

onli added 4 commits April 6, 2026 10:16
The risk of blocking the blog owner by accident is too high. Instead just do not use the autodetected baseURL in these situations, which means falling back to defaultBaseURL.
@onli onli requested a review from mattsches April 6, 2026 08:58
@onli onli changed the title Let users poovide a list of valid hosts for autodected base URLs Let users provide a list of valid hosts for autodected base URLs Apr 6, 2026
@onli onli changed the title Let users provide a list of valid hosts for autodected base URLs Let users provide a list of valid hosts for autodetected base URLs Apr 6, 2026
Comment thread serendipity_config.inc.php
Comment thread serendipity_config.inc.php Outdated
Copy link
Copy Markdown
Member

@mattsches mattsches left a comment

Choose a reason for hiding this comment

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

I added some comments.

@onli onli merged commit 7e5bd2c into master Apr 8, 2026
5 checks passed
@onli onli deleted the feature/autodetectBaseURLRules branch April 8, 2026 08:44
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.

2 participants