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

umputun / remark42 / 28721968231
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: fix/tree-limit-tests
DEFAULT BRANCH: master
Ran 04 Jul 2026 10:43PM UTC
Jobs 1
Files 53
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

04 Jul 2026 12:49PM UTC coverage: 84.44% (+0.01%) from 84.427%
28721968231

Pull #2116

github

paskal
fix: add --trusted-proxy to gate client-IP forwarding headers

Rate limiting and (with --votes-ip) vote de-duplication key on the client IP,
recovered from forwarding headers (X-Real-IP / X-Forwarded-For / CF-Connecting-IP)
when behind a reverse proxy. Those headers were accepted from any client, so a
caller could set them to change its apparent IP.

Add --trusted-proxy / TRUSTED_PROXY (comma-separated CIDR/IP): forwarding headers
are honored only when the direct peer is a trusted proxy; other peers keep their
real socket address. Unset preserves the previous trust-all behavior (with a
startup warning) so existing deployments keep working on upgrade.

Docs: a 'Trusted proxies and client IP' section with per-topology guidance, plus a
note in the nginx manual.
Pull Request #2116: fix: add --trusted-proxy to gate client-IP forwarding headers

51 of 59 new or added lines in 3 files covered. (86.44%)

2 existing lines in 1 file now uncovered.

6458 of 7648 relevant lines covered (84.44%)

36.69 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
83.67
-0.21% backend/app/cmd/server.go
4
94.3
-0.94% backend/app/rest/api/middleware.go

Coverage Regressions

Lines Coverage ∆ File
2
94.55
0.0% backend/app/notify/notify.go
Jobs
ID Job ID Ran Files Coverage
1 28721968231.1 04 Jul 2026 10:43PM UTC 53
84.44
GitHub Action Run
Source Files on build 28721968231
  • Tree
  • List 53
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #2116
  • PR Base - master (#28682486334)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc