Skip to content

Fixed case-sensitive domain comparison in sender email validation

6d02496
Select commit
Loading
Failed to load commit list.
Merged

Added sender details customization for welcome emails #27192

Fixed case-sensitive domain comparison in sender email validation
6d02496
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 7, 2026 in 1m 57s

Quality Gate failed

Annotations

Check warning on line 1 in apps/admin-x-settings/test/unit/utils/welcome-email-sender-details.test.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:assert/strict` over `assert/strict`.

See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAdS6XBGhgATe2Vf&open=AZ1koAdS6XBGhgATe2Vf&pullRequest=27192

Check warning on line 18 in ghost/core/core/server/services/member-welcome-emails/service.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`VERIFIED_SENDER_PROPERTIES` should be a `Set`, and use `VERIFIED_SENDER_PROPERTIES.has()` to check existence or non-existence.

See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAXH6XBGhgATe2Vd&open=AZ1koAXH6XBGhgATe2Vd&pullRequest=27192

Check warning on line 263 in apps/admin-x-settings/src/components/settings/membership/member-emails/welcome-email-customize-modal.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAd06XBGhgATe2Vg&open=AZ1koAd06XBGhgATe2Vg&pullRequest=27192

Check warning on line 220 in ghost/core/core/server/services/member-welcome-emails/service.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'.

See more on https://sonarcloud.io/project/issues?id=TryGhost_Ghost&issues=AZ1koAXH6XBGhgATe2Ve&open=AZ1koAXH6XBGhgATe2Ve&pullRequest=27192