You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- __init__.py preset/extension URL installs: give read_response_limited a
domain error_type (PresetError / ExtensionError) and catch that instead
of a blanket ValueError, so an oversized body is reported cleanly while
unrelated ValueErrors surface as real errors. The extension catch now
also covers install_from_zip's ValidationError (an ExtensionError).
- _utils.run_command: rewrite the misleading docstring — shell=False is the
only honoured mode; shell=True is rejected with ValueError, the parameter
is retained only so existing keyword callers don't hit TypeError.
- _download_security: document that the loopback allowance is an exact-string
match (not an IP-range check), that read_response_limited's max_bytes
default is the 50 MiB ceiling (callers with tighter budgets should pass an
explicit value), and how _safe_zip_name handles single trailing-slash
directory markers vs malformed empty segments.
- authentication/http: comment the empty-hosts _StripAuthOnRedirect use as the
HTTPS-downgrade guard on the unauthenticated path.
- check_security_requirements: document the HEAD^ fallback failing safe (audit
anyway) on shallow / single-commit checkouts.
- security.yml: document the universal committed snapshot vs per-Python
scheduled compile distinction.
- tests: add a regression test that a symlink alongside benign members is
rejected with no partial extraction to disk.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments