• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jhillyerd / enmime / 42261673504
89%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2026 05:26PM UTC
Jobs 3
Files 40
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2026 05:26PM UTC coverage: 88.883% (+0.06%) from 88.828%
42261673504

push

github

web-flow
fix: keep quoted-printable soft line breaks that have transport padding (#426)

* fix: keep quoted-printable soft line breaks that have transport padding

RFC 2045 section 6.7 says that transports may add whitespace at the end
of an encoded line and that a decoder deletes it, so `=` followed by
spaces or tabs and a line break is a soft line break. Go's
quotedprintable.Reader decodes it that way, but QPCleaner escaped such
an `=` to `=3D` first. `abc= \r\ndef` was decoded to `abc=\r\ndef`
instead of `abcdef`.

* fix: drop the transport padding of a quoted-printable soft line break

The cleaner inserts a line break when a line reaches MaxQPLineLen. When
the padding after `=` reached that length, the break landed between the
padding and the original line break, so the decoder no longer joined the
lines. The padding is now dropped, since a decoder deletes it anyway.

The lookahead for the padding also discarded an error other than EOF
from the input, which could end decoding early without an error. It is
now returned from Read.

---------

Co-authored-by: Wleeaf <179125857+wleeaf@users.noreply.github.com>

36 of 38 new or added lines in 1 file covered. (94.74%)

3630 of 4084 relevant lines covered (88.88%)

5160.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
96.75
-0.9% internal/coding/quotedprint.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.25.x - 42261673504.1 06 Nov 2026 05:27PM UTC 40
87.47
GitHub Action Run
2 Go-1.26.x - 42261673504.2 06 Nov 2026 05:26PM UTC 40
87.47
GitHub Action Run
3 Go-1.27.x - 42261673504.3 06 Nov 2026 05:27PM UTC 40
86.94
GitHub Action Run
Source Files on build 42261673504
  • Tree
  • List 40
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • ea480d21 on github
  • Prev Build on main (#42159251613)
  • Next Build on main (#42519488879)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc