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

lostisland / faraday / #4586
96%
master: 92%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 26 Oct 2026 08:54AM UTC
Jobs 1
Files 32
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

26 Oct 2026 08:53AM UTC coverage: 95.247% (+0.02%) from 95.229%
#4586

push

web-flow
Escape params 2x faster with half the allocations, using CGI.escape (#1727)

* Escape params with CGI.escape

* Restrict the CGI.escape fast path to UTF-8, US-ASCII and BINARY

In Shift_JIS, Big5, GBK, GB18030 and CP949, a multibyte character can end
with an ASCII byte: 'ア' is "\x83A" in Shift_JIS. CGI.escape works on bytes
and leaves that 'A' alone, while ESCAPE_RE escapes the whole character
(%83A vs %83%41). Every other encoding keeps the regexp path.

The fast path also takes String instances only: CGI.escape returns a String
subclass such as ActiveSupport::SafeBuffer as is when nothing needs escaping,
where the regexp path returned a plain String.

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

8 of 8 new or added lines in 1 file covered. (100.0%)

1503 of 1578 relevant lines covered (95.25%)

163.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #4586.1 26 Oct 2026 08:54AM UTC 32
95.25
Source Files on build #4586
  • Tree
  • List 32
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 41666c66 on github
  • Prev Build on main
  • Next Build on main
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc