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

zopefoundation / Zope / 6224812692
81%
master: 82%

Build:
Build:
LAST BUILD BRANCH: mr-developer-203
DEFAULT BRANCH: master
Ran 18 Sep 2023 03:42PM CUT
Jobs 1
Files 371
Run time 16s
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 Sep 2023 03:28PM CUT coverage: 81.131% (+0.008%) from 81.123%
6224812692

push

github

mauritsvanrees
Allow only some image types to be displayed inline.

Force download for others, especially SVG images.  By default we use a list of allowed types.
You can switch a to a list of denied types by setting OS environment variable
``OFS_IMAGE_USE_DENYLIST=1``.  This change only affects direct URL access.
``<img src="image.svg" />`` works the same as before.

See security advisory:
https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v

4332 of 7070 branches covered (0.0%)

Branch coverage included in aggregate %.

35 of 35 new or added lines in 2 files covered. (100.0%)

27197 of 31792 relevant lines covered (85.55%)

0.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
81.21
0.17% src/OFS/Image.py
Jobs
ID Job ID Ran Files Coverage
1 6224812692.1 18 Sep 2023 03:42PM CUT 371
81.13
Source Files on build 6224812692
  • Tree
  • List 371
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/LineBranch HitsBranch Misses
0.0
src/Testing/ZopeTestCase/threadutils.py25 2 0 2 0.0 0 0
0.0
src/Testing/ZopeTestCase/testpackage/__init__.py2 2 0 2 0.0 0 0
0.0
src/Testing/ZODButil.py15 10 0 10 0.0 0 2
0.0
...ts/testing/pythonproduct2/Extensions/somemodule.py4 2 0 2 0.0 0 0
0.0
src/App/class_init.py30 4 0 4 0.0 0 0
0.0
src/Products/Five/metaconfigure.py9 2 0 2 0.0 0 0
0.0
src/Products/SiteAccess/AccessRule.py6 2 0 2 0.0 0 0
0.0
src/Products/PageTemplates/DeferExpr.py24 2 0 2 0.0 0 0
0.0
src/OFS/Document.py24 3 0 3 0.0 0 0
0.0
src/webdav/hookable_PUT.py15 7 0 7 0.0 0 2
Showing 1 to 10 of 371 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 38
  • Next
  • ►
    80.97
    src/
  • Back to Repo
  • 372f926b on github
  • Prev Build on 4.x (#6081053323)
  • Next Build on maurits-image-svg-download-4x (#6224924621)
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

© 2025 Coveralls, Inc