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

ruby-grape / grape / 29091554593
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/recompile-settings-mutation-race
DEFAULT BRANCH: master
Ran 10 Jul 2026 12:07PM UTC
Jobs 32
Files 167
Run time 1min
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

10 Jul 2026 12:02PM UTC coverage: 96.649% (-0.01%) from 96.661%
29091554593

Pull #2789

github

ericproulx
Harden mounted-app auth surface and error HTML escaping

Two security-relevant fixes surfaced by a review of Grape::API:

- Grape::Middleware::Error#rack_response only escaped the error message
  when the response content-type was exactly 'text/html', so a
  parameterized value such as 'text/html; charset=utf-8' skipped escaping
  and could reflect an unescaped message into an HTML response. Compare the
  media type only.

- A bare Rack app mounted with `mount` is called directly and never goes
  through the endpoint middleware stack, so an API's authentication
  middleware does not wrap it and the mount is reachable unauthenticated.
  Mounted Grape APIs are unaffected. Warn at compile time when a bare Rack
  app is mounted under configured authentication so the bypass isn't silent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #2789: Harden mounted-app auth surface and error HTML escaping

1132 of 1228 branches covered (92.18%)

Branch coverage included in aggregate %.

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

3598 of 3666 relevant lines covered (98.15%)

23347.09 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_2_2.gemfile - 29091554593.1 10 Jul 2026 12:07PM UTC 166
95.15
GitHub Action Run
2 run-3.3-gemfiles/rails_8_1.gemfile - 29091554593.2 10 Jul 2026 12:08PM UTC 167
95.2
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 29091554593.3 10 Jul 2026 12:08PM UTC 166
95.19
GitHub Action Run
4 run-4.0-gemfiles/rails_7_2.gemfile - 29091554593.4 10 Jul 2026 12:07PM UTC 167
95.2
GitHub Action Run
5 run-3.3-Gemfile - 29091554593.5 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
6 run-4.0-gemfiles/multi_xml.gemfile - 29091554593.6 10 Jul 2026 12:08PM UTC 166
47.03
GitHub Action Run
7 run-3.4-Gemfile - 29091554593.7 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
8 run-4.0-gemfiles/multi_json.gemfile - 29091554593.8 10 Jul 2026 12:07PM UTC 166
47.57
GitHub Action Run
9 run-4.0-gemfiles/grape_swagger.gemfile - 29091554593.9 10 Jul 2026 12:07PM UTC 166
55.22
GitHub Action Run
10 run-3.4-gemfiles/rails_8_0.gemfile - 29091554593.10 10 Jul 2026 12:08PM UTC 167
95.2
GitHub Action Run
11 run-4.0-gemfiles/rails_8_0.gemfile - 29091554593.11 10 Jul 2026 12:07PM UTC 167
95.2
GitHub Action Run
12 run-4.0-gemfiles/rack_3_1.gemfile - 29091554593.12 10 Jul 2026 12:08PM UTC 166
95.19
GitHub Action Run
13 run-4.0-gemfiles/hashie.gemfile - 29091554593.13 10 Jul 2026 12:08PM UTC 166
62.38
GitHub Action Run
14 run-4.0-gemfiles/rack_3_2.gemfile - 29091554593.14 10 Jul 2026 12:08PM UTC 166
95.19
GitHub Action Run
15 run-3.3-gemfiles/rails_7_2.gemfile - 29091554593.15 10 Jul 2026 12:07PM UTC 167
95.2
GitHub Action Run
16 run-4.0-Gemfile - 29091554593.16 10 Jul 2026 12:08PM UTC 166
95.19
GitHub Action Run
17 run-3.3-gemfiles/rack_2_2.gemfile - 29091554593.17 10 Jul 2026 12:07PM UTC 166
95.15
GitHub Action Run
18 run-3.3-gemfiles/rack_3_1.gemfile - 29091554593.18 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
19 run-3.4-gemfiles/rails_8_1.gemfile - 29091554593.19 10 Jul 2026 12:07PM UTC 167
95.2
GitHub Action Run
20 run-4.0-gemfiles/dry_validation.gemfile - 29091554593.20 10 Jul 2026 12:07PM UTC 166
58.24
GitHub Action Run
21 run-3.3-gemfiles/rack_3_0.gemfile - 29091554593.21 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 29091554593.22 10 Jul 2026 12:08PM UTC 166
95.19
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 29091554593.23 10 Jul 2026 12:07PM UTC 167
95.2
GitHub Action Run
24 run-3.3-gemfiles/rack_3_2.gemfile - 29091554593.24 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
25 run-4.0-gemfiles/multi_xml_0_8.gemfile - 29091554593.25 10 Jul 2026 12:08PM UTC 166
47.07
GitHub Action Run
26 run-4.0-gemfiles/grape_entity.gemfile - 29091554593.26 10 Jul 2026 12:07PM UTC 166
50.39
GitHub Action Run
27 run-3.4-gemfiles/rails_7_2.gemfile - 29091554593.27 10 Jul 2026 12:08PM UTC 167
95.2
GitHub Action Run
28 run-3.4-gemfiles/rack_2_2.gemfile - 29091554593.28 10 Jul 2026 12:07PM UTC 166
95.15
GitHub Action Run
29 run-3.4-gemfiles/rack_3_0.gemfile - 29091554593.29 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
30 run-3.4-gemfiles/rack_3_2.gemfile - 29091554593.30 10 Jul 2026 12:07PM UTC 166
95.19
GitHub Action Run
31 run-3.3-gemfiles/rails_8_0.gemfile - 29091554593.31 10 Jul 2026 12:07PM UTC 167
95.2
GitHub Action Run
32 run-4.0-gemfiles/multi_json_1_20.gemfile - 29091554593.32 10 Jul 2026 12:08PM UTC 166
47.61
GitHub Action Run
Source Files on build 29091554593
  • Tree
  • List 167
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #29091554593
  • Pull Request #2789
  • PR Base - master (#28782563800)
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