mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
chore: Replace go-rfc5322 with gluon's rfc5322 parser
Bumps Gluon version in order to get the fixes from https://github.com/ProtonMail/gluon/pull/327.
This commit is contained in:
@ -27,9 +27,9 @@ import (
|
||||
"time"
|
||||
"unicode/utf8"
|
||||
|
||||
"github.com/ProtonMail/gluon/rfc5322"
|
||||
"github.com/ProtonMail/gluon/rfc822"
|
||||
"github.com/ProtonMail/go-proton-api"
|
||||
"github.com/ProtonMail/go-rfc5322"
|
||||
"github.com/ProtonMail/gopenpgp/v2/crypto"
|
||||
"github.com/ProtonMail/proton-bridge/v3/pkg/algo"
|
||||
"github.com/bradenaw/juniper/xslices"
|
||||
|
||||
@ -26,9 +26,9 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/ProtonMail/gluon/rfc5322"
|
||||
"github.com/ProtonMail/gluon/rfc822"
|
||||
"github.com/ProtonMail/go-proton-api"
|
||||
"github.com/ProtonMail/go-rfc5322"
|
||||
"github.com/ProtonMail/proton-bridge/v3/pkg/message/parser"
|
||||
pmmime "github.com/ProtonMail/proton-bridge/v3/pkg/mime"
|
||||
"github.com/emersion/go-message"
|
||||
|
||||
@ -639,11 +639,11 @@ func TestParseIcsAttachment(t *testing.T) {
|
||||
|
||||
func TestParseAllowInvalidAddress(t *testing.T) {
|
||||
const literal = `To: foo
|
||||
From: bar
|
||||
BCC: fff
|
||||
CC: FFF
|
||||
Reply-To: AAA
|
||||
Subject: Test
|
||||
From: bar
|
||||
BCC: fff
|
||||
CC: FFF
|
||||
Reply-To: AAA
|
||||
Subject: Test
|
||||
`
|
||||
|
||||
// This will fail as the addresses are not valid.
|
||||
|
||||
Reference in New Issue
Block a user