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

OWASP / java-html-sanitizer / 205
94%

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

pending completion
205

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`.

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

4078 of 4415 relevant lines covered (92.37%)

3.69 hits per line

Jobs
ID Job ID Ran Files Coverage
2 205.2 25 Mar 2019 02:56PM UTC 0
92.26
Travis Job 205.2
3 205.3 25 Mar 2019 02:56PM UTC 0
92.14
Travis Job 205.3
4 205.4 25 Mar 2019 02:57PM UTC 0
92.23
Travis Job 205.4
5 205.5 25 Mar 2019 02:57PM UTC 0
92.23
Travis Job 205.5
Source Files on build 205
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #205
  • 2ca42843 on github
  • Prev Build on master
  • Next Build on master
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