Граф коммитов

5735 Коммитов

Автор SHA1 Сообщение Дата
Jorg K 2687acd85c Bug 1466705 - Backed out changeset ec2cc16327fe which was pushed accidentally. a=backout DONTBUILD 2018-06-15 19:50:15 +02:00
Joshua Cranmer ext:(%2C%20aceman%20%3Cacelists%40atlas.sk%3E%20and%20Jorg%20K%20%3Cjorgk%40jorgk.com%3E) cdd61ba02f Bug 1466705 - Restore IMAP and NNTP subscribe to use a C++ nsITreeView. r=jorgk,aceman 2011-03-24 12:24:48 -04:00
Jorg K 0d312c74b8 Bug 1463266 - code clean-up in mimei.cpp. r=aceman
[skip-blame]
2018-06-15 07:40:19 +02:00
Jorg K 39dfe66989 Bug 1464667 - Follow-up: Optimisation: only look for closing tag if opening tag is found. r=me DONTBUILD 2018-06-12 09:57:05 +02:00
Jorg K 663104211a Bug 1464667 - Remove unnecessary call to MimeInlineTextHTML_remove_plaintext_tag() from mimethsa.cpp. r=me DONTBUILD 2018-06-12 07:41:09 +02:00
Jorg K e85995d36c Bug 1464667 - Remove plaintext tag from HTML. r=mkmelin 2018-06-11 21:43:27 +02:00
Gene Smith 8095865efc Bug 1451137: Make "next chunk starts with newline" flag a member variable to fix MOZ_ASSERT(). r=jorgk DONTBUILD 2018-06-10 21:41:29 -04:00
Jorg K 092dd3a2e7 Bug 1451137 - Backed out changeset 28b628b92314. a=jorgk 2018-06-11 14:10:45 +02:00
Gene Smith 1a1c584ec3 Bug 1451137: Make "next chunk starts with newline" flag a member variable to fix MOZ_ASSERT(). r=jorgk DONTBUILD 2018-06-10 21:41:29 -04:00
Jorg K de95805b33 Bug 1462895 - Follow-up: Use FindChar() instead of Find(). r=me 2018-06-08 00:06:21 +02:00
aceman eae1c508b0 Bug 1460754 - use constants from interfaces instead of hardcoding them where possible. r=jorgk 2018-05-10 15:57:00 +02:00
Jorg K b555f4e12b Bug 1466802 - Also open non-mailnews URLs in nsMessengerContentHandler::HandleContent. r=aceman 2018-06-06 22:33:33 +02:00
Jorg K 0295172532 Bug 1466782 - Port bug 1466673: replace use of nsITreeColumn. r=bz 2018-06-06 22:33:30 +02:00
Joshua Cranmer ext:(%20and%20aceman%20%3Cacelists%40atlas.sk%3E) 9dfcbbfcca Bug 732106 - restore movemail and rss account creation option in account wizard and remove ispdata rdf files. r=mkmelin, ui-r=Paenglab 2018-06-05 16:12:00 +02:00
Jorg K 1da195baf0 Bug 1466782 - Port bug 1466673: replace use of nsITreeColumns. r=bz 2018-06-05 21:52:11 +02:00
Jorg K ba6d7e1ccb Bug 1466630 - Follow-up: remove unused variable. rs=bustage-fix 2018-06-04 22:51:27 +02:00
Jorg K 63467198c9 Bug 1466630 - Port bug 1465933: Replace nsINSSComponent.GetPIPNSSBundleString with GetPIPNSSBundleString from nsNSSCertHelper. rs=bustage-fix 2018-06-04 21:05:30 +02:00
Jorg K 1c150e05f8 Bug 1358837 - re-enable native Linux notifications by default. r=mkmelin 2018-06-03 23:29:32 +02:00
Jorg K f5afe646b1 Bug 1466343 - fix NS_MsgStripRE(). r=mkmelin 2018-06-03 23:29:12 +02:00
Jorg K aab54f9c9a Bug 1463266 - replace tabs with spaces in comm-central in IDL files. rs=white-space-only
[skip-blame]
2018-06-03 11:02:27 +02:00
Jorg K 8facda9bcd Bug 1463266 - replace tabs with spaces in mailnews/imap (follow-up). rs=white-space-only
[skip-blame]
2018-06-03 10:43:33 +02:00
Jorg K 2f3fdea858 Bug 1463266 - replace tabs with spaces in mailnews/imap. rs=white-space-only
[skip-blame]
2018-06-02 12:59:36 +02:00
Jorg K 04fbc6e40a Bug 1466297 - Port bug 1465585: Switch from mozilla::Move to std::move. rs=bustage-fix 2018-06-02 08:02:39 +02:00
Joshua Cranmer 3a5805464f Bug 457333 - Cleanup subscribe dialog code. r=jorgk
Applies remaining changes from jcranmer's derdf/subscribedefork and derdf/subscribe-fatrip patches.
2018-05-31 14:57:00 +02:00
Jorg K d21cdca297 Bug 1463266 - replace tabs with spaces in mailnews/compose. rs=white-space-only
[skip-blame]
2018-05-31 23:55:34 +02:00
Jorg K 088dd4c171 Bug 1465751 - Port Bug 1446937: ContextForTopLevelLoad() returns already_AddRefed<nsISupports> now. rs=bustage-fix 2018-05-31 12:51:58 +02:00
Magnus Melin 2a98ab5fc4 Bug 1462910 - Prevent form submits by sandboxing. r=BenB,jorgk 2018-05-28 23:12:50 +03:00
Jorg K ef70815e2f Bug 1458057 - Replace use of nsIDOMNode in comments in Calendar, fix logHelper.js. r=bz DONTBUILD 2018-05-30 10:12:30 +02:00
Jorg K 415397af02 Bug 1463266 - replace tabs with spaces in mailnews/db. rs=white-space-only
[skip-blame]
2018-05-29 20:43:34 +02:00
Jorg K c2d81632ad Bug 1463266 - replace tabs with spaces in editor/. rs=white-space-only
[skip-blame]
2018-05-29 00:14:42 +02:00
Frank-Rainer Grahl 658b8b2cdf Bug 1464572 - Initialize the progress notifier on first download only. r=alta88
Also mNumPendingFeedDownloads is a number, so compare it accordingly.
2018-05-26 12:21:00 +02:00
Jorg K e972862209 Bug 1463266 - replace tabs with spaces in mailnews/addrbook+base+extensions+import+intl+local+test. rs=white-space-only
[skip-blame]
2018-05-27 15:58:50 +02:00
Jorg K 4f9453efe6 Bug 1462895 - fix insertion of <div class="moz-text-html" lang="...">. r=mkmelin
--HG--
extra : amend_source : 8809524af3240eb6b8e10995febeaba51deae60e
2018-05-27 14:27:38 +02:00
Jorg K 66b8b8e8f9 Bug 1463266 - replace tabs with spaces in mailnews/extensions+mapi+mime+news. rs=white-space-only 2018-05-27 00:38:00 +02:00
Jorg K a02957b597 Bug 1464391 - Use appropriate flags when serialising HTML in mimeTextHTMLParsed.cpp. r=BenB DONTBUILD 2018-05-25 05:42:00 +02:00
Jorg K cfe28c270f Bug 1463133 - Partly backed out changeset 18881dd127e3 to restore <div class="moz-text-html" lang="...">. a=jorgk DONTBUILD 2018-05-26 12:09:59 +02:00
Josiah Bruner 57fe17e104 Bug 1461106 - Remove SMTP password from cache when deleted from password manager to prevent stale connection attempts. r=jorgk 2018-05-25 14:18:00 +02:00
Jorg K 8e24e93c44 Bug 1463266 - replace tabs with spaces in mailnews/addrbook. rs=white-space-only
[skip-blame]
2018-05-25 20:01:21 +02:00
Jorg K 8c145508a5 Bug 1458057 - Replace use of nsIDOMNode in nsMsgCompose.cpp. r=bz 2018-05-25 07:52:46 +02:00
Jorg K e14f84275e Bug 1463266 - fix inconsistent closing brackets in nsMsgBaseCID.h. rs=white-space-only DONTBUILD
[skip-blame]
2018-05-24 19:22:27 +02:00
Jorg K 532fe1e267 Bug 1463266 - replace tabs with spaces in mailnews/base. rs=white-space-only
[skip-blame]
2018-05-24 19:07:57 +02:00
Jorg K ff45aa782c Bug 1463133 - Remove unnecessary MIME preludes. r=mkmelin 2018-05-23 00:07:52 +02:00
aceman 164d45dc6b Bug 1460049 - remove some unneeded includes from mailnews/imap - part 2. r=jorgk 2018-05-09 14:13:00 +02:00
Jorg K 6eb18d8cf8 Bug 1419417 - revert temporary fix from bug 1457721. r=mkmelin 2018-05-21 18:49:39 +02:00
Jorg K b02892cc3a Bug 1419417 - adjust test expectancy. r=mkmelin,BenB 2018-05-21 18:48:59 +02:00
Ben Bucksch a236bdcf1e Bug 1419417 - Parse HTML to make sure that tags and attributes are properly closed. r=mkmelin,jorgk
This fixes the efail <http://efail.de> security bug, which opens a HTML
tag or attribute in an HTML MIME part, then puts in a PGP-encrypted part,
and then another HTML part with the closing quote or tag. This could be
e.g. <img src=' or <form><textarea>, CSS URL or similar features that send
out the following text as URL and therefore leak it to the attacker who
crafted the email. The PGP part will then be decrypted and leak.

The bug was that we just passed HTML through verbatim. The frontend does
not have any further precautions, either.

The correct solution here is to jail each MIME part into a separate
<iframe type="content"> in the UI. However, we don't want one scrollbar
for each MIME part, but one scroll for the entire body. <iframe seamless>
would allow that, but it was never implemented in Firefox and is now dead.
We might later find a workaround, but this is more work and can't be done
short term.

The fix here in libmime first parses the HTML that we get in the
HTML MIME part, and then immediately serialized it again. That ensures
that the HTML document is complete, syntactically correct, and all
tags and attributes are properly closed, before we start with the next
MIME part.
2018-05-21 18:44:41 +02:00
Jorg K 1918e4cd7b Bug 1457713 - Port bug 1456035: Change XPCOMUtils.generateQI to ChromeUtils.generateQI in mailnews. r=aceman 2018-05-21 00:59:53 +02:00
Jorg K c68f3aa209 Bug 1462481 - Follow-up: fix "Context-Type", fix typo in comment and remove comment referencing future code. r=me 2018-05-21 00:19:38 +02:00
Jorg K 879820ee56 Bug 1462481 - fix white-space issues in mimethsa.cpp. rs=white-space-only
[skip-blame]
2018-05-19 22:42:29 +02:00
Ben Bucksch 36a6dde47d Bug 1462481 - clean up MIME's HTML sanitizer class. r=mkmelin,jorgk 2018-05-17 15:11:00 +02:00