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

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

Build:
DEFAULT BRANCH: master
Ran 26 May 2018 01:10AM UTC
Files 1
Run time 3min
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: 60.0%. Remained the same
2.4.2, gemfiles/multi_xml.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

3 of 5 relevant lines covered (60.0%)

0.6 hits per line

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