Skip to content

Add Security Mode setting and image blocking - #929

Open
arcobaleno64 wants to merge 1 commit into
bkaankose:mainfrom
arcobaleno64:feature/security-mode
Open

arcobaleno64 wants to merge 1 commit into
bkaankose:mainfrom
arcobaleno64:feature/security-mode

Conversation

@arcobaleno64

Copy link
Copy Markdown

Introduce a Security Mode preference to block external images and remote content by default. Adds IsSecurityModeEnabled to IPreferencesService and PreferencesService (and excludes it from syncable/exported properties to avoid silent security downgrades). Update MailRenderingPageViewModel to honor the setting, expose a contextual info bar message, and refresh UI bindings; update MailRenderingPage.xaml and settings page to display the message and toggle. Add translations and comprehensive tests for the security mode and HTML ClearImages sanitization. Also add .omc/ to .gitignore.

Introduce a Security Mode preference to block external images and remote content by default. Adds IsSecurityModeEnabled to IPreferencesService and PreferencesService (and excludes it from syncable/exported properties to avoid silent security downgrades). Update MailRenderingPageViewModel to honor the setting, expose a contextual info bar message, and refresh UI bindings; update MailRenderingPage.xaml and settings page to display the message and toggle. Add translations and comprehensive tests for the security mode and HTML ClearImages sanitization. Also add .omc/ to .gitignore.
@Tiktack

Tiktack commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

There already such settings, what this PR for?
image

@bkaankose

Copy link
Copy Markdown
Owner

Discussion for this PR is here #948

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.

3 participants