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

thumbor / thumbor / 37090862198
92%

Build:
DEFAULT BRANCH: master
Ran 03 Oct 2026 02:46AM UTC
Jobs 5
Files 104
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

03 Oct 2026 02:44AM UTC coverage: 91.778% (+0.03%) from 91.746%
37090862198

push

github

marcelometal
feat: add ALLOWED_SIZES to restrict requested sizes

Without URL signing, a client can ask thumbor for every width and height
combination and make it generate and cache a new image for each one.
ALLOWED_SIZES lists the sizes image URLs may request, as "WIDTHxHEIGHT"
strings, and the imaging handler answers any other size with a 400 before the
blacklist, the signature check, the result storage or the loader run. Entries
are compared literally with the size parsed from the URL, so 0 (omitted or
proportional) and orig must be listed explicitly, while flips and fit-in do
not change the compared size. The server refuses to start when the option is
not a list or an entry is not canonical. The default empty list allows every
size.

Issue #1624 proposed separate ALLOWED_WIDTHS and ALLOWED_HEIGHTS lists. Pairs
were chosen because two lists allow their whole cross product, N squared sizes
for N real ones, and setting only one of them silently leaves the other axis
open. The option narrows only the size segment: unsigned URLs can still vary
crop, filters and other options, and fit-in can return smaller images, so the
docs point to URL signing as the way to stop tampering.

19 of 19 new or added lines in 3 files covered. (100.0%)

4465 of 4865 relevant lines covered (91.78%)

4.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.11 - 37090862198.1 03 Oct 2026 02:47AM UTC 104
91.78
GitHub Action Run
2 run-3.10 - 37090862198.2 03 Oct 2026 02:47AM UTC 104
91.78
GitHub Action Run
3 run-3.14 - 37090862198.3 03 Oct 2026 02:46AM UTC 104
91.78
GitHub Action Run
4 run-3.12 - 37090862198.4 03 Oct 2026 02:47AM UTC 104
91.78
GitHub Action Run
5 run-3.13 - 37090862198.5 03 Oct 2026 02:46AM UTC 104
91.78
GitHub Action Run
Source Files on build 37090862198
  • Tree
  • List 104
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37090862198
  • e71b4cd1 on github
  • Prev Build on master (#37087094196)
  • Next Build on master (#38057092727)
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