yarl
https://github.com/aio-libs/yarl
Python
Yet another URL library
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported1 Subscribers
Add a CodeTriage badge to yarl
Help out
- Issues
- Validate hosts parsed by URL(str) like the builder APIs do
- fix(url): avoid IndexError in host_port_subcomponent for empty host
- fix(parse): reject bracketed authority ending in @ with ValueError
- Reject parsed host that IDNA-normalizes to a URL delimiter
- fix: raise ValueError for malformed bracketed authorities
- fix: validate host on URL(str) like URL.build (#1829)
- `URL(str)` parsing skips the host validation that `URL.build()` enforces (accepts NUL/control chars and delimiter-injecting hosts)
- fix: no IndexError for empty host / bracketed authority ending in @
- Preserve encoded base path when joining URLs
- `host_port_subcomponent` raises `IndexError` for an empty host
- Docs
- Python not yet supported