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

cshum / imagor / 20602081313
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
Jobs 1
Files 46
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

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

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

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

5413 of 5857 relevant lines covered (92.42%)

1.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20602081313.1 31 Dec 2025 06:20AM UTC 46
92.42
GitHub Action Run
Source Files on build 20602081313
  • Tree
  • List 46
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #691
  • PR Base - master (#20600936950)
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