Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

d2weber

@d2weber@mastodon.green
mastodon 4.6.6
  • Open on mastodon.green
0 Followers
0 Following
8 Posts
Joined September 13, 2022

Posts

Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 22, 2026
d2weber
@d2weber@mastodon.green
mastodon.green
Replying to @d2weber@mastodon.green
@adbenitez@mastodon.social Currently we cannot use PlainText, because this would break anchor links too.
1
0
0
0
Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 22, 2026
d2weber
@d2weber@mastodon.green
mastodon.green
Replying to @dreddie@social.vivaldi.net
@dreddie@social.vivaldi.net What in the code makes you think it loads an external resource, the resource() call? As far as I understand this only loads local resources: https://codebrowser.dev/data/symbol.html?root=../qt6/&ref=_ZNK13QTextDocument8resourceEiRK4QUrl
0
1
0
0
Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 22, 2026
d2weber
@d2weber@mastodon.green
mastodon.green
Replying to @adbenitez@mastodon.social
@adbenitez@mastodon.social yes in (3/3) I pointed out that there is a PlainText option, but that disables all rich text features.
0
1
0
0
Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 22, 2026
d2weber
@d2weber@mastodon.green
mastodon.green
Replying to @dreddie@social.vivaldi.net
@dreddie@social.vivaldi.net I investigated background-image and it doesn't appear to fetch remote URLs. Looking at the source, background-image resolution happens during HTML parsing via applyBackgroundImage(), which just stores the URL without fetching. See: https://codebrowser.dev/qt6/qtbase/src/gui/text/qtexthtmlparser.cpp.html#_ZN19QTextHtmlParserNode20applyBackgroundImageERK7QStringPK13QTextDocument In contrast, tags are resolved during rendering when QML's network-enabled image loader (QQuickPixmap) is active. I confirmed this empirically, background-image with a remote URL didn't trigger a network request while did.
0
3
0
0
Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 21, 2026
d2weber
@d2weber@mastodon.green
mastodon.green
Replying to @d2weber@mastodon.green
(3/3) For Qt5 on the other hand, tags that contain upper case letters are not rendered. If you don't need any rich text formatting, you can set the text format of the component to PlainText (which is not the default).
0
0
1
0
Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 21, 2026
d2weber
@d2weber@mastodon.green
mastodon.green
Replying to @d2weber@mastodon.green
(2/3) A malicious sender could embed an `` tag and learn the recipient's IP address the moment the message is previewed in the list of chats. Minimal qml to reproduce: Text { text: '' } Our mitigation is to escape image tags before display from C++ s.replace(QRegularExpression("<(\\s*img)", QRegularExpression::CaseInsensitiveOption), "<\\1"); If you use Qt6 the regular expression is mandatory to be case insensitive.
0
3
1
0
Open post
d2weber
d2weber @d2weber@mastodon.green · Jan 21, 2026
d2weber
@d2weber@mastodon.green
mastodon.green

(1/3) Default Qt rich text fetches remote images:
While working on DeltaTouch, we discovered that Qt's `Text` and `Label` components by default automatically fetch remote resources when rendering HTML content containing `` tags. This happens immediately when the component is displayed, no user interaction required. For our messenger where all network traffic should be routed through the DeltaChat core library, this was an unexpected privacy leak. #qt

mastodon.green

Mastodon.green

0
10
1
1
Open post
d2weber
d2weber @d2weber@mastodon.green · Dec 08, 2024
d2weber
@d2weber@mastodon.green
mastodon.green

Just realised that “Rustacean” can be accurately translated to German: “Rustentier”. (Crustacean can be translated to Krustentier)

#rustlang #rustentier

mastodon.green

Mastodon.green

4
0
0
0

Remote instance

mastodon.green
Open on original server
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 00:35:58 UTC