Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/EC-Nordbund/deno-smtp
Browse files Browse the repository at this point in the history
  • Loading branch information
mathe42 committed Mar 30, 2022
2 parents 9660096 + a51a9b2 commit 03a66a6
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
### IMPORTANT SECURITY INFORMATION

PLEASE update to a version >= 0.8! 0.8 has a problem where malformed mails could
potatialy allow attackers to create a mail (with linebreaks) to send unwanted
SMTP commands. This could result in authentic phishing attacks! Whith no way for
potentialy allow attackers to create a mail (with linebreaks) to send unwanted
SMTP commands. This could result in authentic phishing attacks! With no way for
the user to identify that this is a phishing mail! Or that this mail contains a
dangorus attachment!
dangerous attachment!

Also make shure that Mails are sent one after the other as they can corrupt each
Also make sure that Mails are sent one after the other as they can corrupt each
others data!

### Allowed Mail Formats
Expand Down Expand Up @@ -38,8 +38,8 @@ For the fields
### Sending multiple mails

Note that for race-condition reasons we can't send multiple mails at once.
Because of that if send is allready called and still processing a mail
`client.send` will que that sending.
Because of that if send is already called and still processing a mail
`client.send` will queue that sending.

### Example

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ We provide security updates currently for these version.
| > 0.10.x | :white_check_mark: |

We will provide security updates after 1.0 only for the latest version of that major.
We will deprecate major versions so you should allways upgrade! Note that major version will contain breaking changes so we will add security updates for at least 1 older major so you have time to upgrade. But note that we will deprecate these versions too!
We will deprecate major versions so you should always upgrade! Note that major versions will contains breaking changes so we will add security updates for at least 1 older major so you have time to upgrade. But note that we will deprecate these versions too!

## Reporting a Vulnerability

Expand Down
6 changes: 3 additions & 3 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export {
BufReader,
BufWriter,
} from "https://deno.land/std@0.129.0/io/buffer.ts";
export { TextProtoReader } from "https://deno.land/std@0.129.0/textproto/mod.ts";
export { decode as base64Decode } from "https://deno.land/std@0.123.0/encoding/base64.ts";
} from "https://deno.land/std@0.130.0/io/buffer.ts";
export { TextProtoReader } from "https://deno.land/std@0.130.0/textproto/mod.ts";
export { decode as base64Decode } from "https://deno.land/std@0.130.0/encoding/base64.ts";
2 changes: 1 addition & 1 deletion test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SmtpClient } from "./smtp.ts";
import "https://deno.land/x/[email protected]/load.ts";
import "https://deno.land/[email protected]/dotenv/load.ts";

const { TLS, PORT, HOSTNAME, MAIL_USER, MAIL_TO_USER, MAIL_PASS } = Deno.env
.toObject();
Expand Down
2 changes: 1 addition & 1 deletion test_deps.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { config as configEnv } from "https://deno.land/x/[email protected]/mod.ts";
export { config as configEnv } from "https://deno.land/[email protected]/dotenv/mod.ts";
2 changes: 1 addition & 1 deletion tests/test_parse.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.104.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.130.0/testing/asserts.ts";

function parseAddress(email: string): [string, string] {
const m = email.match(/(.*)\s<(.*)>/);
Expand Down

0 comments on commit 03a66a6

Please sign in to comment.