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

thumbor / libthumbor / 40143795223
100%

Build:
DEFAULT BRANCH: master
Ran 24 Oct 2026 11:42PM UTC
Jobs 9
Files 7
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

24 Oct 2026 11:41PM UTC coverage: 100.0%. Remained the same
40143795223

push

github

marcelometal
Let projects validate requests before the Django view signs them

The view signs any image_url and options it can parse, and the README could
only tell users to put it behind authentication; nothing let a project
restrict hosts or filters without rewriting the view. The optional
THUMBOR_URL_VALIDATOR setting now names a callable, or its dotted path, that
receives the request and the parsed options before signing. Raising
InvalidParameter answers 400 with its message and raising PermissionDenied
answers 403; a path that does not import, or a value that is not callable,
raises ImproperlyConfigured, as a missing THUMBOR_SECURITY_KEY does. Without
the setting nothing changes.

The README example lives in the test project and the tests drive it, both
through the client (an anonymous request gets 403) and through the view
resolved from the URL with a signed-in user, so the documented code is the
tested code. The example guards urlsplit, which raises ValueError on a
malformed IPv6 host and would otherwise turn into a 500; the README says any
exception other than InvalidParameter and PermissionDenied propagates.
Removing the validator call fails four tests, and the view tests pass on
Django 5.2.18 and 6.1.2.

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

343 of 343 relevant lines covered (100.0%)

9.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.14-django5 - 40143795223.1 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
2 run-3.13-django5 - 40143795223.2 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
3 run-3.12-django6 - 40143795223.3 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
4 run-3.15-django6 - 40143795223.4 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
5 run-3.12-django5 - 40143795223.5 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
6 run-3.13-django6 - 40143795223.6 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
7 run-3.11-django5 - 40143795223.7 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
8 run-3.15-django5 - 40143795223.8 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
9 run-3.14-django6 - 40143795223.9 24 Oct 2026 11:42PM UTC 7
100.0
GitHub Action Run
Source Files on build 40143795223
  • Tree
  • List 7
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40143795223
  • 07387096 on github
  • Prev Build on master (#40143281985)
  • Next Build on master (#40144329099)
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