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

Kikobeats / parse-proxy-uri / 30890397619
100%

Build:
DEFAULT BRANCH: master
Ran 04 Aug 2026 08:04AM UTC
Jobs 1
Files 1
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

04 Aug 2026 08:04AM UTC coverage: 98.78% (-1.2%) from 100.0%
30890397619

push

github

web-flow
fix: harden proxy URI parsing (#25)

* fix: harden proxy URI parsing

Reject WHATWG misparses that silent-misroute traffic (schemeless
host:port, rewritten IPv4, path/query/hash userinfo), keep
credentials live across href/host mutation, and leave auth empty
when credentials are omitted.

Supersedes #22, #23, #24.

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

* fix: reject malformed credential escapes at parse

Eager-decode userinfo in the constructor so INVALID_PROXY still
fires instead of a late URIError from the live getters.

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

* fix: accept encoded IPv4 and String proxies

Percent-decode the raw host before the IPv4 rewrite check, and
coerce inputs with String() so boxed String URIs keep working.

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

* refactor: slim proxy URI hardening

Drop restating comments, dead IPv6 host parsing, and duplicated
invalid-proxy test boilerplate.

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

---------

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

37 of 39 branches covered (94.87%)

Branch coverage included in aggregate %.

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

125 of 125 relevant lines covered (100.0%)

16.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30890397619.1 04 Aug 2026 08:04AM UTC 1
98.78
GitHub Action Run
Source Files on build 30890397619
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30890397619
  • 243ef445 on github
  • Prev Build on master (#30846812957)
  • Next Build on master (#31016687283)
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