• 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: master
CHANGE BRANCH
x
Reset
  • master
  • 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
  • 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
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
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
25452169494 master build(deps): bump find-my-way from 9.5.0 to 9.6.0 (#26) * build(deps): bump find-my-way from 9.5.0 to 9.6.0 Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 9.5.0 to 9.6.0. - [Release notes](https://github.com/delvedor/find-my-w... push 06 May 2026 05:59PM UTC web-flow github
100.0
24401504473 master fix: keep route on subrouter (#25) push 14 Apr 2026 01:25PM UTC web-flow github
100.0
24384847963 master build(deps): bump pnpm/action-setup from 5 to 6 (#24) * build(deps): bump pnpm/action-setup from 5 to 6 Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 5 to 6. - [Release notes](https://github.com/pnpm/action-setup/releases)... push 14 Apr 2026 06:40AM UTC web-flow github
100.0
23219070165 master build(deps): bump pnpm/action-setup from 4 to 5 (#22) Bumps [pnpm/action-setup](https://github.com/pnpm/action-setup) from 4 to 5. - [Release notes](https://github.com/pnpm/action-setup/releases) - [Commits](https://github.com/pnpm/action-setup/c... push 17 Mar 2026 10:20PM UTC web-flow github
100.0
22326664380 master build(deps): bump find-my-way from 9.4.0 to 9.5.0 (#21) Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 9.4.0 to 9.5.0. - [Release notes](https://github.com/delvedor/find-my-way/releases) - [Commits](https://github.com/delvedor/... push 23 Feb 2026 10:02PM UTC web-flow github
100.0
20728248692 master build(deps): bump find-my-way from 9.3.0 to 9.4.0 (#20) Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 9.3.0 to 9.4.0. - [Release notes](https://github.com/delvedor/find-my-way/releases) - [Commits](https://github.com/delvedor/... push 05 Jan 2026 08:29PM UTC web-flow github
100.0
20545200572 master chore: remove del push 27 Dec 2025 10:29PM UTC Kikobeats 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