wildduck/lib
titanism a68725d312
fix: fixed edge cases when session could be null (#699)
* fix: fixed edge cases when `session` could be `null`

If the session is set to `null` and an `err` occurs, for example here:

<c9188b3766/lib/pop3/connection.js (L1010)>

Then an uncaught exception will be thrown.

* Update lib/pop3/connection.js

Co-authored-by: Shaun Warman <1986128+shaunwarman@users.noreply.github.com>

---------

Co-authored-by: Shaun Warman <1986128+shaunwarman@users.noreply.github.com>
2024-06-28 04:16:43 +03:00
..
acme fix(SNI): do not use the default db for SNI 2024-04-29 13:44:51 +03:00
api fix(api-addresses): Main isn't required when updating an address (#695) 2024-06-05 13:24:02 +03:00
attachments Delayed delete for orphaned files 2023-08-31 15:00:38 +03:00
handlers fix(move): Extend move operaiton lock automatically 2024-03-14 11:38:03 +02:00
lua Index emails for accounts with indexing feature flag 2023-03-10 11:13:12 +02:00
md5 reformatted md5 2018-09-11 16:03:54 +03:00
pop3 fix: fixed edge cases when session could be null (#699) 2024-06-28 04:16:43 +03:00
schemas fix(api-all): Replaced old documentation with new, autogenerated, one ZMS-154 (#693) 2024-05-30 09:39:43 +03:00
tasks fix(SNI): disable SNI certificate autogeneration by default 2024-04-29 13:18:00 +03:00
attachment-storage.js Refactored IMAP COPY. Aborts copying if socket to client is closed 2020-09-08 12:26:33 +03:00
audit-handler.js fix(audit): Fixed find() query for expired audits (#547) 2023-10-30 10:55:39 +02:00
autoreply.js 1.35.4 2021-09-06 14:54:37 +03:00
bimi-handler.js Fixed 304 handling for bimi 2023-08-24 16:32:50 +03:00
cert-handler.js fix(autsni): Fixed garbage collection for unfinished certificates 2024-05-02 13:51:14 +03:00
certs.js feat(SNI): Autogenerate TLS certificates for SNI 2024-04-29 09:57:37 +03:00
consts.js fix(password-hash): Update PBKDF2 iteration count to more closely align with OWASP recommendations (#648) 2024-03-12 14:53:52 +02:00
counters.js Index emails for accounts with indexing feature flag 2023-03-10 11:13:12 +02:00
data-url.js bunch of fixes 2022-07-05 11:57:57 +03:00
db.js Fixed Redis config parsing 2023-03-31 12:10:26 +03:00
dkim-handler.js fix(api-dkim): Fix empty p value in dnsText.value if no private key initially given ZMS-142 (#664) 2024-04-11 11:47:03 +03:00
dkim-stream.js Allow using addresses as usernames 2018-05-11 14:39:23 +03:00
elasticsearch.js Index emails for accounts with indexing feature flag 2023-03-10 11:13:12 +02:00
encrypt.js Fixed bug where unencrypted ssl certs are not working probably 2021-11-13 15:38:44 +01:00
ensure-es-index.js Started with searching from ES 2023-07-20 13:59:59 +03:00
errors.js include session id in error log messages 2022-03-10 12:08:23 +02:00
events.js Migrate from Bull to BullMQ for background processing 2023-03-10 15:47:47 +02:00
export.js Added account export and import API endpoints 2022-10-06 13:57:06 +03:00
filter-handler.js Include attachment sha256 in the filtering response 2023-08-10 13:41:28 +03:00
forward.js prefer user email as the username for plugins 2022-06-27 11:49:07 +03:00
hashes.js fix(password-hash): Rehash pbkdf2 if required iterations count increases 2024-03-12 14:54:22 +02:00
header-splitter.js include hash value in attachment output 2021-03-26 09:58:05 +02:00
imap-notifier.js fix(journal-parse): Improve idle CPU performance ZMS-109 (#597) 2024-01-05 10:31:07 +02:00
limited-fetch.js treat user.forward as an array 2017-11-13 15:27:37 +02:00
mailbox-handler.js fix(mailbox-create): Use correct database for loading User data when creating mailboxes (#550) 2023-11-06 12:30:23 +02:00
maildrop.js v1.28.2 2020-07-16 13:06:38 +03:00
maildropper.js feat(autoacme): Allow setting up automatic ACME certificate generation 2024-04-25 15:18:51 +03:00
mbox-export.js use noCursorTimeout for mbox queries 2021-04-16 13:29:52 +03:00
mbox-stream.js Added export endpoint for audit 2019-11-21 16:15:25 +02:00
message-handler.js fix(api-messages-intro): Take intro from HTML if possible ZMS-112 (#672) 2024-04-15 10:58:45 +03:00
message-splitter.js Allow using addresses as usernames 2018-05-11 14:39:23 +03:00
newlines.js Added export endpoint for audit 2019-11-21 16:15:25 +02:00
plugins.js v1.37.2 2022-07-19 09:22:46 +03:00
prepare-search-filter.js feat(api-search): Allow searching for messages by uid (#587) 2024-01-02 13:23:43 +02:00
redis-url.js Migrate from Bull to BullMQ for background processing 2023-03-10 15:47:47 +02:00
roles.js started testing with roles 2018-08-28 14:37:06 +03:00
schemas.js fix(api-certs): Certs API endpoints added to API docs generation ZMS-141 (#663) 2024-04-03 11:45:44 +03:00
search-query.js fixed tests 2023-07-20 13:59:59 +03:00
settings-handler.js feat(SNI): Autogenerate TLS certificates for SNI 2024-04-29 09:57:37 +03:00
storage-handler.js feat(storage): Added cid property to storage files (#502) 2023-09-21 12:37:35 +03:00
task-handler.js fixed a but with invalid property check 2021-09-14 09:43:09 +03:00
tools.js feat(autoacme): Allow setting up automatic ACME certificate generation 2024-04-25 15:18:51 +03:00
translations.js v1.20.2 2019-06-07 15:41:21 +03:00
user-cache.js bunch of fixes 2022-07-05 11:57:57 +03:00
user-handler.js Added missing internalData object to new accounts 2023-04-19 17:08:32 +03:00