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

OWASP / java-html-sanitizer / 205 / 4
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2019 02:57PM UTC
Files 43
Run time 5s
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

25 Mar 2019 02:53PM UTC coverage: 92.235%. Remained the same
205.4

push

travis-ci

mikesamuel
Properly parse srcset attributes

Fixes issue #112

Previously, extra URL handling for `src`, `href` and related attributes
was naively applied to `srcset`.

This failed safe but mangled content.

I consolidated (in a previous commit) the code that ensures that URL and `style`
attributes have extra checks done: the global URL and style policies
respectively.

This commit adds special handling for srcset which uses the global URL policy
to vet each URL policy and leaves the metadata portion alone.

Commas in the middle of URLs in a `srcset` value will be escaped to `%2c`.

4098 of 4443 relevant lines covered (92.23%)

0.92 hits per line

Source Files on job 205.4
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16
  • Travis Job 205.4
  • 2ca42843 on github
  • Prev Job for on master (##15.1)
  • Next Job for on master (##17.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