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

umputun / newscope / 34170417671
81%

Build:
DEFAULT BRANCH: master
Ran 07 Sep 2026 11:34PM UTC
Jobs 1
Files 24
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

07 Sep 2026 11:33PM UTC coverage: 81.169% (+0.008%) from 81.161%
34170417671

push

github

web-flow
Wrap router with http.CrossOriginProtection for CSRF defence (#40)

Newscope has no CSRF protection: every state-changing endpoint under
/api/v1 accepts a cross-site form post, and the UI runs without tokens.
http.CrossOriginProtection rejects unsafe methods whose Sec-Fetch-Site or
Origin marks them as cross-origin, and leaves GET, HEAD and header-less
requests from non-browser clients alone, so RSS readers and API clients
keep working.

The middleware runs directly after the throttle, ahead of rest.SizeLimit,
which reads the whole body into memory before passing the request on.

2 of 2 new or added lines in 1 file covered. (100.0%)

3750 of 4620 relevant lines covered (81.17%)

27.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34170417671.1 07 Sep 2026 11:34PM UTC 24
81.17
GitHub Action Run
Source Files on build 34170417671
  • Tree
  • List 24
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9c02bfa5 on github
  • Prev Build on master (#32346543881)
  • 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