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

Kikobeats / parse-proxy-uri
97%

Build:
DEFAULT BRANCH: master
Repo Added 17 Oct 2020 02:49PM 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-1dfb
  • cursor/critical-bug-management-2e89
  • cursor/critical-bug-management-3a21
  • cursor/critical-bug-management-452f
  • cursor/critical-bug-management-6cd2
  • cursor/critical-bug-management-7631
  • cursor/critical-bug-management-9706
  • cursor/critical-bug-management-b2f7
  • cursor/critical-bug-management-b90a
  • cursor/critical-bug-management-c13c
  • cursor/critical-bug-management-dd74
  • cursor/critical-bug-management-e596
  • cursor/critical-bug-management-e67f
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/setup-node-5
  • dependabot/github_actions/actions/setup-node-6
  • dependabot/github_actions/pnpm/action-setup-6
  • fix/harden-proxy-uri-parsing
  • fix/harden-proxyurl-mutations
  • master
  • next

16 Oct 2026 09:27AM UTC coverage: 96.806% (+0.09%) from 96.714%
38880565467

push

github

web-flow
fix: reject embedded tabs and newlines in proxy URIs (#36)

* fix: reject embedded tabs and newlines in proxy URIs

WHATWG strips ASCII tab and newlines before parsing, so they bypass the
credential and host checks. An embedded newline can move the proxy host
and send credentials to a different server.

* fix: reject host code points the URL parser drops

Host parsing deletes marks such as U+FEFF and U+200B, so a proxy written
as trusted.evil.com is stored as the joined name and the credentials follow.

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

* fix: keep opaque hosts whose percent bytes are not UTF-8

decodeURIComponent throws on those bytes, but a SOCKS host keeps them.
The ignored-mark scan only runs after a successful decode.

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

---------

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

139 of 153 branches covered (90.85%)

Branch coverage included in aggregate %.

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

346 of 348 relevant lines covered (99.43%)

150.74 hits per line

Relevant lines Covered
Build:
Build:
348 RELEVANT LINES 346 COVERED LINES
150.74 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
38880565467 master fix: reject embedded tabs and newlines in proxy URIs (#36) * fix: reject embedded tabs and newlines in proxy URIs WHATWG strips ASCII tab and newlines before parsing, so they bypass the credential and host checks. An embedded newline can move th... push 16 Oct 2026 09:27AM UTC web-flow github
96.81
38878523468 cursor/critical-bug-management-b90a Merge 46bdcefb8 into fcf2cfeae Pull #36 16 Oct 2026 09:09AM UTC web-flow github
96.81
38869571596 cursor/critical-bug-management-b90a Merge ec918f6da into fcf2cfeae Pull #36 16 Oct 2026 07:49AM UTC web-flow github
96.68
38867883132 master chore: tweaks push 16 Oct 2026 07:33AM UTC Kikobeats github
96.71
38850630304 cursor/critical-bug-management-b90a Merge 186aba3ad into 46b708218 Pull #36 16 Oct 2026 04:26AM UTC web-flow github
96.92
32624113269 master fix: parse IPv4 proxy URIs with @ in credentials (#34) hostToken used the first `@` as the userinfo delimiter, so a WHATWG-valid URI like `http://user:p@ss@127.0.0.1:8080` failed the IPv4 rewrite check while the same credentials on a hostname wer... push 23 Aug 2026 06:54AM UTC web-flow github
96.71
32446046878 cursor/critical-bug-management-c13c Merge f7e09ebbf into ced4ab7eb Pull #34 21 Aug 2026 04:11AM UTC web-flow github
96.71
31938663191 master fix: harden ProxyURL mutations (#33) * fix: harden ProxyURL mutations WHATWG setters truncate, coerce, and drop default ports. Reject junk writes, keep implicit ports, and block host rewrites. Closes #29 Closes #30 Closes #31 Closes #32 Co-aut... push 16 Aug 2026 09:18AM UTC web-flow github
96.71
31938324999 fix/harden-proxyurl-mutations Merge 34e233706 into d15ab179e Pull #33 16 Aug 2026 09:10AM UTC web-flow github
96.71
31938162242 fix/harden-proxyurl-mutations Merge e1683168a into d15ab179e Pull #33 16 Aug 2026 09:06AM UTC web-flow github
96.15
See All Builds (73)
  • 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