armorbreak001
armorbreak001
Fixes #13 ## Summary Fixed 7 bugs / crash risks identified in `agents/gemini.py` that could cause `NameError`, infinite loops, or unexpected crashes. ## Changes (all in `agents/gemini.py`) | # |...
## Problem When using `from __future__ import annotations` together with `Annotated[..., Depends(...)]` where the type is defined **after** the route decorator, FastAPI raises a `PydanticUserError` about an unresolvable ForwardRef. The...
Fixes #12583 On FIPS-enabled systems (RHEL 8/9, CentOS Stream), OpenSSL blocks calls to `md5()` without `usedforsecurity=False`. This causes Perspective Broker connections to fail with: ``` ValueError: [digital envelope routines] unsupported...
When `Text.from_ansi()` receives a string with CRLF (\\r\\n) line endings, every line of content is lost — the result is all empty strings. **Root cause:** `AnsiDecoder.decode()` splits on \\n, strips...
## Summary The CSS rule for `.dropdown-submenu > a::after` uses `--bs-dropdown-link-active-color` (which resolves to `#fff`/white on the default theme) for the submenu arrow's `border-left-color`. This makes the dropdown arrow **invisible**...
## Summary When multiple OAuth2 error classes share the same error code (e.g. `invalid_request`), `raise_from_error` would raise whichever class it encountered first during `inspect.getmembers` iteration. This could produce misleading exceptions...
## Summary Closes #907 When `construct_scalar`, `construct_sequence`, `construct_mapping`, etc. receive a non-Node object (e.g., `None`, a plain Python object), the error handler unconditionally accesses `node.id` which raises `AttributeError`, masking the...
## Summary Fixes #1259. When `tzinfo=None` is explicitly passed to `arrow.get()` (e.g. from a variable that may be None), it was incorrectly treated as 'tzinfo not provided'. This caused the...
When fuzzy parsing a string like `04/04/04 +32423`, trailing numeric tokens encountered after a complete YMD date has been parsed were appended to the ymd list unconditionally. This caused `resolve_ymd()`...
When the JWK set cache is populated externally with a `PyJWKSet` instance (e.g. from a pre-fetched JWKS stored externally), `get_jwk_set()` raised `PyJWKClientError` because it only expected `dict` or `None` from...