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

umputun / remark42 / 24596576498 / 1
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: fix-typo
DEFAULT BRANCH: master
Ran 18 Apr 2026 04:12AM UTC
Files 50
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

18 Apr 2026 04:09AM UTC coverage: 84.365% (+0.02%) from 84.345%
24596576498.1

Pull #2045

github

paskal
fix(api): reject control characters in /picture URL segments

Address PR #2045 review feedback (Copilot #2045-1). The previous
safePictureSegment allowed CR/LF/TAB through, so a request such as
GET /api/v1/picture/dev%0Auser/abc.png would inject literal newlines
into the access log line ("GET - /api/v1/picture/dev\nuser/abc.png ...")
— a log-forgery primitive against any operator parsing those logs.

Reject any unicode.IsControl rune in either segment (NUL was already
caught via strings.ContainsAny). New TestRest_LoadPictureRejectsControlCharsInSegment
covers LF, CR, TAB, NUL across both segments.
Pull Request #2045: fix(api): reject path traversal in /picture/{user}/{id}

6243 of 7400 relevant lines covered (84.36%)

34.62 hits per line

Source Files on job 24596576498.1
  • Tree
  • List 50
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24596576498
  • 65677830 on github
  • Prev Job for on security-pr-a-path-traversal (#24547191483.1)
  • Next Job for on security-pr-a-path-traversal (#24596866617.1)
  • 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