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

Kikobeats / router-http
99%

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
  • cursor/critical-bug-management-cb05
  • cursor/critical-bug-management-d803
  • 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
  • dependabot/npm_and_yarn/find-my-way-9.8.0
  • fix/use-mount-path-matching
  • master
  • next
  • subrouter

26 Aug 2026 05:44AM UTC coverage: 98.864% (-0.6%) from 99.45%
32935253742

push

github

web-flow
fix: do not treat query slashes as the path of an absolute-form target (#39)

* fix: do not treat query slashes as the path of an absolute-form target

find-my-way 9.9.0 stopped using /^https?:\/\/.*?\// because a request
like GET http://host?next=/admin was rewritten to /admin. router-http
still applied that regex before find() and mount matching, so the same
target selected the admin route. Parse the authority separately so an
empty path stays / and invalid targets reach onBadUrl.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* test: drop the absolute-form fragment case Node's parser rejects

GET http://host#next=/admin is a clientError (Unexpected char in url)
before the router runs. Cover that spelling in-process instead, and
keep the HTTP onBadUrl cases Node actually delivers.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* test: keep query-slash off /admin mounts

The route test still passed if .use('/admin') ran. Assert the
query too so a rewrite to / that drops it fails.

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

* refactor: fold query-slash mount into one test

authorize on /admin is the canary; a second server restated the
same table. Leave the find-my-way copy untouched so bumps stay a
diff.

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

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>
Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com>

207 of 212 branches covered (97.64%)

Branch coverage included in aggregate %.

48 of 50 new or added lines in 1 file covered. (96.0%)

576 of 580 relevant lines covered (99.31%)

2686.66 hits per line

Relevant lines Covered
Build:
Build:
580 RELEVANT LINES 576 COVERED LINES
2686.66 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
32935253742 master fix: do not treat query slashes as the path of an absolute-form target (#39) * fix: do not treat query slashes as the path of an absolute-form target find-my-way 9.9.0 stopped using /^https?:\/\/.*?\// because a request like GET http://host?next... push 26 Aug 2026 05:45AM UTC web-flow github
98.86
32934833806 cursor/critical-bug-management-d803 Merge ae9958c74 into cbb795f66 Pull #39 26 Aug 2026 05:38AM UTC web-flow github
98.86
32934209610 cursor/critical-bug-management-d803 Merge a8ef448aa into cbb795f66 Pull #39 26 Aug 2026 05:29AM UTC web-flow github
98.87
32929223559 cursor/critical-bug-management-d803 Merge 2f7d6aaca into cbb795f66 Pull #39 26 Aug 2026 04:11AM UTC web-flow github
98.87
32878800601 master build(deps): bump find-my-way from 9.8.0 to 9.9.0 (#38) Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 9.8.0 to 9.9.0. - [Release notes](https://github.com/delvedor/find-my-way/releases) - [Commits](https://github.com/delvedor/... push 25 Aug 2026 05:36PM UTC web-flow github
99.45
32227790585 master build(deps): bump find-my-way from 9.7.0 to 9.8.0 (#37) Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 9.7.0 to 9.8.0. - [Release notes](https://github.com/delvedor/find-my-way/releases) - [Commits](https://github.com/delvedor/... push 19 Aug 2026 07:26AM UTC web-flow github
99.45
32165389949 dependabot/npm_and_yarn/find-my-way-9.8.0 Merge 508a07538 into f5bd55b82 Pull #37 18 Aug 2026 05:24PM UTC web-flow github
99.45
31305711502 master fix: keep path middleware aligned with route normalization (#36) * fix: keep path middleware aligned with route normalization find-my-way can still match routes after collapsing duplicate slashes, stripping semicolon delimiters, or folding case,... push 09 Aug 2026 09:22AM UTC web-flow github
99.45
31305395085 cursor/critical-bug-management-cb05 Merge 0c54b08fa into c47610409 Pull #36 09 Aug 2026 09:14AM UTC web-flow github
99.45
31305280113 cursor/critical-bug-management-cb05 Merge 6408b1ded into c47610409 Pull #36 09 Aug 2026 09:11AM UTC web-flow github
99.45
See All Builds (113)
  • 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