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

jhillyerd / enmime / 45515199964
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: perf-mangled-mediatype
DEFAULT BRANCH: main
Ran 25 Nov 2026 12:05AM UTC
Jobs 3
Files 41
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

25 Nov 2026 12:04AM UTC coverage: 89.029% (-0.2%) from 89.201%
45515199964

Pull #445

github

draarivpatel-ui
fix: stop adding spurious quotes in RFC2047Decode

RFC2047Decode wrapped the value portion of any decoded key=value text in
double quotes, so decoding an encoded word such as

    =?UTF-8?Q?s=3Dgreen;d=3Ddomain;i=3Dsender+=C3=A4@domain?=

produced s="green;d=domain;i=sender+ä@domain" instead of the original
s=green;d=domain;i=sender+ä@domain. The structural quoting exists for
media type parameter parsing, where an encoded word can stand in for an
entire key=value pair, but it corrupts the output of the public
enmime.DecodeRFC2047 and DecodeHeaders helpers for any decoded text
containing an equals sign.

Move the quoting into a new coding.RFC2047DecodeParam used only by
mediatype parameter assembly, leaving RFC2047Decode a pure RFC 2047
decoder as documented.

Fixes #363
Pull Request #445: fix: stop adding spurious quotes in RFC2047Decode

8 of 23 new or added lines in 2 files covered. (34.78%)

3871 of 4348 relevant lines covered (89.03%)

39618.18 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
53.54
-6.04% internal/coding/headerext.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.27.x - 45515199964.1 25 Nov 2026 12:05AM UTC 41
87.15
GitHub Action Run
2 Go-1.26.x - 45515199964.2 25 Nov 2026 12:05AM UTC 41
87.68
GitHub Action Run
3 Go-1.25.x - 45515199964.3 25 Nov 2026 12:05AM UTC 41
87.68
GitHub Action Run
Source Files on build 45515199964
  • Tree
  • List 41
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #445
  • PR Base - main (#44591159899)
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