Visitar URL original
[ticket/17740] Require non-empty server name in ACP and installer by marc1706 · Pull Request #7084 · phpbb/phpbb · GitHub
Skip to content

[ticket/17740] Require non-empty server name in ACP and installer - #7084

Merged
marc1706 merged 2 commits into
phpbb:3.3.xfrom
marc1706:ticket/17740
Oct 25, 2026
Merged

marc1706 merged 2 commits into
phpbb:3.3.xfrom
marc1706:ticket/17740

Conversation

@marc1706

@marc1706 marc1706 commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

PHPBB-17740

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-17740

@marc1706 marc1706 added this to the 3.3.20 milestone Oct 11, 2026
@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

The attempt to merge branch 3.3.x into master has completed after considering the changes in this PR.

  • Merge result: Conflict ❌

A separate PR will be needed to merge 3.3.x into master.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The only remaining comment is a non-blocking request for additional ACP test coverage.

No open issues 🎉

What changed in this PR

This pull request prevents empty or whitespace-only server names during ACP configuration and installation, while trimming valid names before saving them.

Changes:

  • Trims and validates server names in the ACP.
  • Rejects empty installer server names with a localized error.
  • Adds installer regression tests for rejection and trimming behavior.
File Description
tests/​installer/​obtain_server_data_test.php Tests rejection of whitespace-only names and trimming of valid names.
phpBB/​phpbb/​install/​module/​obtain_data/​task/​obtain_server_data.php Trims and rejects empty installer server names.
phpBB/​language/​en/​install.php Adds the installer validation message for a missing server name.
phpBB/​includes/​acp/​acp_board.php Trims ACP server names and enforces a non-empty value.

Review effort: Lite

@marc1706
marc1706 merged commit d8e558c into phpbb:3.3.x Oct 25, 2026
76 of 77 checks passed
@marc1706
marc1706 deleted the ticket/17740 branch October 25, 2026 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants