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

ruby-grape / grape / 3220 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 26 May 2018 01:09AM UTC
Files 147
Run time 4min
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

26 May 2018 01:07AM UTC coverage: 98.9% (-0.03%) from 98.933%
2.4.2, gemfiles/rack_edge.gemfile

push

travis-ci

dblock
When returning an HTML error, make sure it's safe (#1763)

* When calling into an API specifying a crafted format that is HTML,
the returned error renders the HTML back to the user, causing a potential XSS
issue.  For example:

http://example.com/api/endpoint?format=%3Cscript%3Ealert(document.cookie)%3C/script%3E

Renders as html:

The requested format '<script>alert(document.cookie)</script>' is not supported.

When an error generates html back to the user, make sure it's properly escaped.

Fixes issue #1762

* Add changelog entry

* Use a method that also works in rails3

* Add spec formatting for older rails/activesupport version

11693 of 11823 relevant lines covered (98.9%)

28.79 hits per line

Source Files on job 3220.3 (2.4.2, gemfiles/rack_edge.gemfile)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 3
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3188
  • Travis Job 3220.3
  • 6876b71e on github
  • Prev Job for 2.4.2, gemfiles/rack_edge.gemfile on master (#3215.3)
  • Next Job for 2.4.2, gemfiles/rack_edge.gemfile on master (#3222.3)
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