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

cshum / imagor / 20602081313 / 1
92%
master: 92%

Build:
Build:
LAST BUILD BRANCH: fix-627-wrong-filename-decoding-1231-0109
DEFAULT BRANCH: master
Ran 31 Dec 2025 06:20AM UTC
Files 46
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

30 Dec 2025 05:19PM UTC coverage: 92.419% (+0.04%) from 92.38%
20602081313.1

Pull #691

github

majiayu000
fix: reject percent-encoded filenames in HTTPLoader

This fixes issue #627 where filenames containing percent-encoded
characters (like "https%3A%2F%2Fexample.com.avif", often from b64-decoded
content) were incorrectly interpreted as URLs by having the default
scheme prepended to them.

The fix adds a check in parseAndValidateURL to detect strings containing
valid percent-encoded characters (e.g., %3A, %2F). When such strings are
found and they lack a scheme/host, they are now rejected with ErrInvalid
instead of having a default scheme prepended. This allows other loaders
(like FileStorage) to handle them as literal filenames.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: majiayu000 <1835304752@qq.com>
Pull Request #691: fix: Wrong filename decoding

5413 of 5857 relevant lines covered (92.42%)

1.11 hits per line

Source Files on job 20602081313.1
  • Tree
  • List 46
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20602081313
  • 482ec11a on github
  • Prev Job for on fix-627-wrong-filename-decoding-1231-0109 (#20600936950.1)
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