yarl
yarl copied to clipboard
Yet another URL library
Host values must match the unreserved, sub-delims or pct-encoded grammar rules. The IDNA encoder already checks for this, but for ASCII values we skip IDNA encoding. If the invalid character...
### Describe the bug For #880 we fixed handling of _ASCII_ hostnames, rejecting hostnames that contain characters or sequences that are explicitly excluded (see [RFC3986, section 3.2.2, the `reg-name` grammar...
### Is your feature request related to a problem? I have a situation where I would like to get a query parameter, do something with it, and then pass the...
basic-auth user and password are converted to lowercase when passed as part of "host" to URL.build
### Describe the bug user and password casing is preserved when using the constructor: >>> yarl.URL('httPS://usER:passWORD@hostNAME/paTH') URL('https://usER:passWORD@hostname/paTH') >>> yarl.URL('httPS://usER:passWORD@hostNAME/paTH').user 'usER' user and password casing is lost when using `URL.build`: >>>...
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 7.0.1 to 7.2.6. Release notes Sourced from sphinx's releases. Sphinx 7.2.6 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.2.5 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.2.4 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.2.3 Changelog: https://www.sphinx-doc.org/en/master/changes.html Sphinx 7.2.2...
### Describe the bug Absolute URLs are permitted to have empty hosts in RFC 3986. Relevant grammar rules: ``` host = IP-literal / IPv4address / reg-name reg-name = *( unreserved...
### Describe the bug We have an internal api that cares about whether the url ends in a '/'. This may be a poor design, but such things exist. When...
### Describe the bug I'm joining two parts of an URL: 1. One URL with the host and first part of the path 2. One URL with the second part...
Re-creating https://github.com/aio-libs/aiohttp/issues/7217 from `aiohttp` to `yarl`, as this is where the URL parsing is happening. Just surfacing this here in case someone is interested.
### Is your feature request related to a problem? I'd like to be able to remove a specific query parameter. Given an URL like `https://domain-name.com/path?param1=value1¶m2=value2¶m3=value3`, I'd like to be able...