Skip to content

fix(settings): clean up regex / app config outliers - #63745

Merged
AndyScherzinger merged 5 commits into
masterfrom
jtr/fix-settings-regex
Sep 1, 2026
Merged

fix(settings): clean up regex / app config outliers#63745
AndyScherzinger merged 5 commits into
masterfrom
jtr/fix-settings-regex

Conversation

@joshtrichards

@joshtrichards joshtrichards commented Aug 27, 2026

Copy link
Copy Markdown
Member

Summary

Broader follow-up inspired by #63686 that cleans up some other outliers.

  • Use explicit configuration keys where regular expressions are unnecessary.
  • Remove the obsolete core/mail_general_settings authorization entry.
  • Anchor the remaining regular expressions so they match the complete key.

TODO

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
`mail_general_settings` is a historical HTML fragment identifier used to link to the email server settings. It is not a core app config key and therefore does not belong in `getAuthorizedAppConfig()`.

Email server settings use system configuration and are authorized through their dedicated settings controller.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Replace the invalid regex-like app config entry with explicit keys for sendpasswordmail and replyToInitiator.

Signed-off-by: Josh <josh.t.richards@gmail.com>
Better match intent; no practical operational change today.

Signed-off-by: Josh <josh.t.richards@gmail.com>
@joshtrichards joshtrichards added this to the Nextcloud 36 milestone Aug 27, 2026
@joshtrichards
joshtrichards requested a review from a team as a code owner August 27, 2026 15:35
@joshtrichards
joshtrichards removed the request for review from a team August 27, 2026 15:35
@CarlSchwan

Copy link
Copy Markdown
Member

/backport to stable34

@CarlSchwan

Copy link
Copy Markdown
Member

/backport to stable35

@CarlSchwan

Copy link
Copy Markdown
Member

/backport to stable33

@joshtrichards joshtrichards added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 1, 2026
@AndyScherzinger
AndyScherzinger merged commit eb6a5e7 into master Sep 1, 2026
254 checks passed
@AndyScherzinger
AndyScherzinger deleted the jtr/fix-settings-regex branch September 1, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: settings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants