-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Roundcube treats images defined as data URIs in CSS as evil #5580
Labels
Milestone
Comments
Confirmed. |
Fixed. |
ZiBiS
added a commit
to ZiBiS/roundcubemail
that referenced
this issue
Jan 9, 2017
* 'master' of https://github.com/roundcube/roundcubemail: (48 commits) Fix bug where external content in src attribute of input/video tags was not secured (roundcube#5583) Avoid closure compiler suspicious code warning (roundcube#5584) Add class attribute for preferences sections list Remove redundant code Fix bug where image data URIs in css style were treated as evil/remote in mail preview (roundcube#5580) Fix pdf object visibility Hide QR-Code button if PHP-GD is not installed Add 1.3-beta milestone + update copyright year Small code improvements in PDF capability checker Remove old jsdeps.sh script Add --delete argument to install-jsdeps.sh Fix function name Fix required OpenPGP version Make it working with wget when curl is not installed, mark --force argument as boolean Add --force option + update install insructions (roundcube#5535) Install script to fetch javascript dependencies defined in jsdeps.json (roundcube#5535) Fix so group/addressbook selection is retained on page refresh Fix some advanced search issues with multiple addressbooks (roundcube#5572) Fix unsetting template objects Nicely handle contact deletion on contact edit (roundcube#5522) ...
This is still not fixed in case where the message contains image data URIs and also references a remote image. Everything is fine until you click "Display images". A test message: test.zip |
Confirmed. |
Fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have the following email notification message:
test.zip
I observe two issues in the way Roundcube renders it. First, it is detected as referencing remote images, which is not true:
Then, after confirming (clicking "Display images") it also not rendered correctly because png images defined as data URIs in CSS are treated as evil and the whole class definitions are removed:
Desktop mail clients diplay this message correctly immediately and without any warnings, for instance Thunderbird:
The text was updated successfully, but these errors were encountered: