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

Kikobeats / router-http
98%

Build:
DEFAULT BRANCH: master
Repo Added 25 Feb 2023 02:39PM UTC
Files 1
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

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • cursor/critical-bug-management-7168
  • cursor/critical-bug-management-89e0
  • cursor/critical-bug-management-a495
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/pnpm/action-setup-5
  • dependabot/github_actions/pnpm/action-setup-6
  • dependabot/github_actions/pnpm/action-setup-6.0.9
  • dependabot/npm_and_yarn/find-my-way-9.4.0
  • dependabot/npm_and_yarn/find-my-way-9.5.0
  • dependabot/npm_and_yarn/find-my-way-9.6.0
  • dependabot/npm_and_yarn/find-my-way-9.7.0
  • fix/use-mount-path-matching
  • master
  • next
  • subrouter

04 Aug 2026 08:23AM UTC coverage: 97.978% (-2.0%) from 100.0%
30891753913

push

github

web-flow
fix: match .use() mounts by decoded longest prefix (#35)

* fix: match .use() mounts by decoded longest prefix

Path middleware skipped multi-segment mounts, trailing-slash mounts, and
percent-encoded segments while routes still matched — an auth bypass.
Normalize mounts on register, match the longest decoded prefix, and strip
the raw URL prefix by segment count so nested handlers see the right path.

Co-authored-by: Cursor <cursoragent@cursor.com>

* perf: restore O(1) first-segment mount lookup

Index path mounts by decoded first segment with longest-first candidates,
skip decode when the URL has no escapes, avoid mountPath+'/' allocs, and
use the registered path for strip unless the request is percent-encoded.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: decode mounts with decodeURI to keep %2F inert

decodeURIComponent turned %2F into a path separator, so a multi-segment
mount could match while raw segment stripping cut the wrong span.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

113 of 118 branches covered (95.76%)

Branch coverage included in aggregate %.

82 of 86 new or added lines in 1 file covered. (95.35%)

323 of 327 relevant lines covered (98.78%)

81.94 hits per line

Relevant lines Covered
Build:
Build:
327 RELEVANT LINES 323 COVERED LINES
81.94 HITS PER LINE
Source Files on master
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30891753913 master fix: match .use() mounts by decoded longest prefix (#35) * fix: match .use() mounts by decoded longest prefix Path middleware skipped multi-segment mounts, trailing-slash mounts, and percent-encoded segments while routes still matched — an auth ... push 04 Aug 2026 08:24AM UTC web-flow github
97.98
30891214645 fix/use-mount-path-matching Merge eee9e6ceb into efe010aec Pull #35 04 Aug 2026 08:16AM UTC web-flow github
97.98
30890885579 fix/use-mount-path-matching Merge 7e7531769 into efe010aec Pull #35 04 Aug 2026 08:11AM UTC web-flow github
97.97
30890521675 fix/use-mount-path-matching Merge b22f99776 into efe010aec Pull #35 04 Aug 2026 08:06AM UTC web-flow github
98.78
30847312666 master ci(dependabot): ignore actions minor/patch Floating major tags already pick up those updates at runtime. push 03 Aug 2026 07:48PM UTC Kikobeats github
100.0
30836463831 dependabot/github_actions/pnpm/action-setup-6.0.9 Merge fa362c665 into 4122c5246 Pull #34 03 Aug 2026 05:23PM UTC web-flow github
100.0
30785215524 cursor/critical-bug-management-7168 Merge d24806edc into 4122c5246 Pull #33 03 Aug 2026 04:44AM UTC web-flow github
100.0
30732467245 cursor/critical-bug-management-89e0 Merge dcd83203b into 4122c5246 Pull #32 02 Aug 2026 04:30AM UTC web-flow github
100.0
30421530864 cursor/critical-bug-management-a495 Merge 728404e4a into 4122c5246 Pull #31 29 Jul 2026 04:10AM UTC web-flow github
100.0
29858484230 master build(deps): bump find-my-way from 9.6.0 to 9.7.0 (#30) Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 9.6.0 to 9.7.0. - [Release notes](https://github.com/delvedor/find-my-way/releases) - [Commits](https://github.com/delvedor/... push 21 Jul 2026 06:44PM UTC web-flow github
100.0
See All Builds (71)
  • Repo on GitHub
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