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

jhillyerd / enmime / 29742197738 / 2
86%
main: 86%

Build:
Build:
LAST BUILD BRANCH: dependabot/github_actions/actions/setup-go-7
DEFAULT BRANCH: main
Ran 20 Jul 2026 12:26PM UTC
Files 39
Run time 1s
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

20 Jul 2026 12:25PM UTC coverage: 86.407% (+0.007%) from 86.4%
29742197738.2

Pull #406

github

gaoflow
mediatype: dedup params by exact name, not substring

fixMangledMediaType dropped a distinct parameter whenever its "<name>="
token was a substring of the accumulated parameter string -- most often
when the name is a suffix of an earlier one (name after filename, id
after uuid, type after subtype) or appears inside an earlier value. This
silently discarded valid parameters that Go's mime.ParseMediaType keeps;
e.g. `filename="a"; name="b"` lost `name`, dropping attachment filenames.

Track seen parameter names in an exact, case-insensitive set (RFC 2045
section 5.1) so only true duplicate keys are removed, preserving the #162
behavior of collapsing exact repeats.
Pull Request #406: mediatype: dedup parameters by exact name, not substring

3280 of 3796 relevant lines covered (86.41%)

2162.61 hits per line

Source Files on job Go-1.25.x - 29742197738.2
  • Tree
  • List 39
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29742197738
  • 82658f03 on github
  • Prev Job for on fix-mediatype-substring-param-drop (#29516664669.2)
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