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

aio-libs / yarl / 36414314501
98%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2026 11:14AM UTC
Jobs 1
Files 40
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

28 Sep 2026 11:12AM UTC coverage: 97.686% (+0.003%) from 97.683%
36414314501

push

github

web-flow
Validate hosts parsed by URL(str) like the builder APIs do (#1852)

* Validate hosts parsed by URL(str) like the builder APIs do

The parser encoded hosts with validate_host=False, so control characters
(NUL/C0/DEL), control characters inside an IPv6 zone identifier, and
IDNA-normalized URL delimiters (e.g. fullwidth U+FF3B -> "[") survived
into the netloc. That produced a str(url) yarl itself could not re-parse,
and hosts the builder APIs reject. Validate on parse with the same checks
the builder uses, while keeping the documented permissive acceptance of
an empty IPv6 zone identifier (#998).

Fixes #1829

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>

* Update CHANGES/1829.bugfix.rst

* Drop xfail markers for RFC 3986 cases this change fixes

* Document host validation in the URL constructor

---------

Co-authored-by: Codebuff <noreply@codebuff.com>
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>

84 of 168 branches covered (50.0%)

Branch coverage included in aggregate %.

32 of 32 new or added lines in 3 files covered. (100.0%)

7854 of 7958 relevant lines covered (98.69%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 MyPy - 36414314501.1 28 Sep 2026 11:14AM UTC 40
97.69
GitHub Action Run
Source Files on build 36414314501
  • Tree
  • List 40
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36414314501
  • 5cc9f309 on github
  • Prev Build on master (#36409475173)
  • Next Build on master (#36416462271)
  • Delete
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