Bug 485922 - KMail is trying to load external resource of the message despite it being disabled
Summary: KMail is trying to load external resource of the message despite it being dis...
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-21 20:36 UTC by beanbo
Modified: 2024-04-22 20:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
KMail leak (49.24 KB, image/png)
2024-04-21 20:44 UTC, beanbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description beanbo 2024-04-21 20:36:09 UTC
SUMMARY
KMail ignores "Allow messages to load external references from the Internet" setting in some rare circumstances.

STEPS TO REPRODUCE
1. Make sure you have a firewall or some other method to see the outgoing connections
2. Go to setting and disable the setting "Allow messages to load external references from the Internet"
3. Go to message list and preview HTML message which contains the following code inside <body> section:
<link href="https://fonts.gstatic.com" rel="preconnect">

OBSERVED RESULT
There is a connection attempt to fonts.gstatic.com:443

EXPECTED RESULT
No connection attempt should be initiated

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, up to date
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Wayland session

ADDITIONAL INFORMATION
I found the same problem with the same email message in Evolution (reported in their bug tracker).
Comment 1 beanbo 2024-04-21 20:44:39 UTC
Created attachment 168766 [details]
KMail leak
Comment 2 beanbo 2024-04-22 20:12:51 UTC
this issue might be a part of the following problem: https://bugs.webkit.org/show_bug.cgi?id=259787