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

umputun / remark42 / 44435303802
87%

Build:
DEFAULT BRANCH: master
Ran 19 Nov 2026 01:17AM UTC
Jobs 1
Files 55
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

19 Nov 2026 01:13AM UTC coverage: 86.195% (+0.01%) from 86.183%
44435303802

push

github

web-flow
Hide email addresses and tokens in the logs (#2318)

* Hide email addresses and tokens in the request log

The request log wrote the address of every email login in plain text: it
arrives as the address query parameter, and the go-pkgz/rest logger masks
only the password, passwd, secret, credentials and token parameters. Email subscription carries the
address in the logged body or query, and confirmation tokens, whose payload
holds the address, were logged whole. The same address reached the warnings
SendErrorJSON writes, the error line go-pkgz/auth writes when it cannot send
a login code, the warnings for a rejected login name, address or site, and
the notifier's warnings for a dropped verification or a failed send.

MaskForLog replaces email addresses, including URL-encoded ones, and JWTs
with a fixed mask. The request loggers, errDetailsMsg, the logger handed to
go-pkgz/auth, the rejected-login warnings and the notifier's send failures go
through it; the dropped-verification warning no longer prints the address.

* Log only the ID and name of a user blocked for a restricted name

The claims updater logged the whole token user when it blocked an anonymous
or email login using a restricted name. It had just set the user's stored
notification address on that user, so the line carried the address.

* Pin the log mask's handling of escapes, stars and JWT-like runs

Add the address shapes that must stay fully masked: after an escaped
backslash or a JSON escape, starting with a \u escape, glued to a mention,
containing "*", or holding an "eyJ" run that the JWT pass masks first. The
last kind passes only because the email classes accept "*", which the
comment on reLogEmail now records.

14 of 15 new or added lines in 6 files covered. (93.33%)

1 existing line in 1 file now uncovered.

6050 of 7019 relevant lines covered (86.19%)

43.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
69.81
-2.74% backend/app/rest/httperrors.go

Coverage Regressions

Lines Coverage ∆ File
1
69.81
-2.74% backend/app/rest/httperrors.go
Jobs
ID Job ID Ran Files Coverage
1 44435303802.1 19 Nov 2026 01:17AM UTC 55
86.19
GitHub Action Run
Source Files on build 44435303802
  • Tree
  • List 55
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f8aa0d48 on github
  • Prev Build on master (#44148873698)
  • Next Build on master (#44436794187)
  • Delete
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