Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pgp-mime-lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ai
pgp-mime-lib
Commits
14e09d01
Commit
14e09d01
authored
2 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Fix 8bit test
parent
eca03f4f
No related branches found
No related tags found
No related merge requests found
Pipeline
#38126
passed
2 years ago
Stage: test
Stage: build
Stage: release
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pgp_mime_lib/rfc3156.py
+1
-1
1 addition, 1 deletion
pgp_mime_lib/rfc3156.py
with
1 addition
and
1 deletion
pgp_mime_lib/rfc3156.py
+
1
−
1
View file @
14e09d01
...
@@ -156,7 +156,7 @@ def encode_base64(msg):
...
@@ -156,7 +156,7 @@ def encode_base64(msg):
# now, if content is already encoded as base64 or if it is encoded with
# now, if content is already encoded as base64 or if it is encoded with
# some unknown encoding, we just pass.
# some unknown encoding, we just pass.
if
encoding
in
[
None
,
'
quoted-printable
'
,
'
x-uuencode
'
,
if
encoding
in
[
None
,
'
quoted-printable
'
,
'
x-uuencode
'
,
'
uue
'
,
'
x-uue
'
,
'
7bit
'
]:
'
uue
'
,
'
x-uue
'
,
'
7bit
'
,
'
8bit
'
]:
orig
=
msg
.
get_payload
(
decode
=
True
)
orig
=
msg
.
get_payload
(
decode
=
True
)
encdata
=
_bencode
(
orig
)
encdata
=
_bencode
(
orig
)
msg
.
set_payload
(
encdata
)
msg
.
set_payload
(
encdata
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment