Skip to content

v0.2.3

Choose a tag to compare

@chriswayneh chriswayneh released this 15 Oct 07:18
· 3 commits to main since this release
dfd0b68

Fixed

  • IDN hosts (for example BBWARDEN_URL=https://bücher.example or
    https://büro.my_host.internal) are no longer refused as cross-host. The origin check
    prepares each URL with requests itself and compares the host it would send: ASCII labels
    are kept as written (so bitbucket_server works) and compared case-insensitively, and
    non-ASCII labels are encoded per label with IDNA2008, so hosts that only IDNA2003 would
    merge (faß and fass, ς and σ) stay different. A host that cannot be parsed or
    encoded is never treated as the same origin. idna>=2.5,<4 and urllib3>=1.26,<3
    (both already required by requests) are now declared dependencies: bbwarden imports
    urllib3, and urllib3 uses idna to encode the labels; hypothesis is in the
    dev extra for a differential test against requests.

Added

  • Dependabot configuration: weekly pip and GitHub Actions updates, minor and patch grouped.